forked from krb5/krb5-anonsvn
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25648 dc483132-0cff-0310-8789-dd5450dbe970
- Loading branch information
tsitkova
committed
Jan 12, 2012
1 parent
2626c89
commit dc33777
Showing
5 changed files
with
87 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
.k5identity - Kerberos V5 client principal selection rules | ||
=============================================================== | ||
|
||
DESCRIPTION | ||
------------- | ||
|
||
The *.k5identity* file, which resides in a user's home directory, | ||
contains a list of rules for selecting a client principals based on | ||
the server being accessed. These rules are used to choose a credential | ||
cache within the cache collection when possible. | ||
|
||
Blank lines and lines beginning with '#' are ignored. Each line has the form: | ||
|
||
principal field=value ... | ||
|
||
If the server principal meets all of the field constraints, then principal | ||
is chosen as the client principal. The following fields are recognized: | ||
|
||
**realm** | ||
If the realm of the server principal is known, it is matched | ||
against *value*, which may be a pattern using shell wildcards. | ||
For host-based server principals, the realm will generally only | ||
be known if there is a :ref:`domain_realm` section | ||
in :ref:`krb5.conf` with a mapping for the hostname. | ||
|
||
**service** | ||
If the server principal is a host-based principal, | ||
its service component is matched against *value*, which may be | ||
a pattern using shell wildcards. | ||
|
||
**host** | ||
If the server principal is a host-based principal, | ||
its hostname component is converted to lower case and matched | ||
against *value*, which may be a pattern using shell wildcards. | ||
|
||
If the server principal matches the constraints of multiple lines | ||
in the .k5identity file, the principal from the first matching line is used. | ||
If no line matches, credentials will be selected some other way, | ||
such as the realm heuristic or the current primary cache. | ||
|
||
EXAMPLE | ||
----------- | ||
|
||
The following example .k5identity file selects the client principal | ||
alice\@KRBTEST.COM if the server principal is within that realm, | ||
the principal alice/root\@EXAMPLE.COM if the server host is within | ||
a servers subdomain, and the principal alice/mail\@EXAMPLE.COM | ||
when accessing the IMAP service on mail.example.com:: | ||
|
||
alice@KRBTEST.COM realm=KRBTEST.COM | ||
alice/root@EXAMPLE.COM host=*.servers.example.com | ||
alice/mail@EXAMPLE.COM host=mail.example.com service=imap | ||
|
||
SEE ALSO | ||
---------- | ||
|
||
kerberos(1), krb5.conf(5) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters