Skip to content

Commit

Permalink
add documentation to .pod for mappings option
Browse files Browse the repository at this point in the history
  • Loading branch information
JKDingwall committed Apr 13, 2017
1 parent 7a91a93 commit df76115
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pam_krb5.pod
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,19 @@ want to use I<minimum_uid> instead.

This option can be set in F<krb5.conf>.

=item mappings=regex1 regex2 [...]

[2.0] Specifies that pam_krb5 should derive the user's principal name
from the Unix user name by first checking if the user name matches
C<regex1>, and formulating a principal name using C<regex2>. For
example, "B<mappings = ^EXAMPLE\\(.*)$ [email protected]>" would map any
user with a name of the form "EXAMPLE\whatever" to a principal name of
"[email protected]". This is primarily targeted at allowing pam_krb5
to be used to authenticate users whose user information is provided by
F<winbindd>(8). This will frequently require the reverse to be
configured by setting up an auth_to_local rule elsewhere in
F<krb5.conf>(5).

=item minimum_uid=<uid>

[2.0] Do not do anything if the authenticated account name corresponds to
Expand Down

0 comments on commit df76115

Please sign in to comment.