Skip to content

Commit

Permalink
Correct kadm5.acl back-reference documentation
Browse files Browse the repository at this point in the history
In kadm5.acl, *N in the target principal name refers to the Nth
wildcard in the acting principal pattern, not the Nth component.

(cherry picked from commit 39bac22)

ticket: 7774
version_fixed: 1.12
status: resolved
  • Loading branch information
greghudson authored and tlyu committed Nov 22, 2013
1 parent 59a811e commit 1c8d837
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/admin/conf_files/kadm5_acl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ ignored. Lines containing ACL entries have the format:
character.

*target_principal* can also include back-references to *principal*,
in which ``*number`` matches the component number in *principal*.
in which ``*number`` matches the corresponding wildcard in
*principal*.

*restrictions*
(Optional) A string of flags. Allowed restrictions are:
Expand Down Expand Up @@ -121,8 +122,8 @@ instance ``root`` (matches line 3).

(line 4) Any ``root`` principal in ``ATHENA.MIT.EDU`` can inquire, list,
or change the password of their null instance, but not any other
null instance. (Here, "\*1" denotes a back-reference to the first
component of the actor principal.)
null instance. (Here, ``*1`` denotes a back-reference to the
component matching the first wildcard in the actor principal.)

(line 5) Any principal in the realm ``ATHENA.MIT.EDU`` (except for
``joeadmin@ATHENA.MIT.EDU``, as mentioned above) has inquire
Expand Down

0 comments on commit 1c8d837

Please sign in to comment.