Login or Register to Ask a Question and Join Our Community

Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

k5identity(5) [centos man page]

K5IDENTITY(5)							   MIT Kerberos 						     K5IDENTITY(5)

NAME
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 domain_realm section in krb5.conf(5) with a map- ping 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) AUTHOR
MIT COPYRIGHT
1985-2013, MIT 1.11.3 K5IDENTITY(5)

Check Out this Related Man Page

AFSLOG(1)						    BSD General Commands Manual 						 AFSLOG(1)

NAME
afslog -- obtain AFS tokens SYNOPSIS
afslog [-h | --help] [--no-v4] [--no-v5] [-u | --unlog] [-v | --verbose] [--version] [-c cell | --cell=cell] [-k realm | --realm=realm] [-P principal | --principal=principal] [-p path | --file=path] [cell | path ...] DESCRIPTION
afslog obtains AFS tokens for a number of cells. What cells to get tokens for can either be specified as an explicit list, as file paths to get tokens for, or be left unspecified, in which case afslog will use whatever magic krb_afslog(3) decides upon. Supported options: --no-v4 This makes afslog not try using Kerberos 4. --no-v5 This makes afslog not try using Kerberos 5. -P principal, --principal principal select what Kerberos 5 principal to use. --cache cache select what Kerberos 5 credential cache to use. --principal overrides this option. -u, --unlog Destroy tokens instead of obtaining new. If this is specified, all other options are ignored (except for --help and --version). -v, --verbose Adds more verbosity for what is actually going on. -c cell, --cell=cell This specified one or more cell names to get tokens for. -k realm, --realm=realm This is the Kerberos realm the AFS servers live in, this should normally not be specified. -p path, --file=path This specified one or more file paths for which tokens should be obtained. Instead of using -c and -p, you may also pass a list of cells and file paths after any other options. These arguments are considered files if they are either the strings ``.'' or ``..'' or they contain a slash, or if there exists a file by that name. EXAMPLES
Assuming that there is no file called ``openafs.org'' in the current directory, and that /afs/openafs.org points to that cell, the follwing should be identical: $ afslog -c openafs.org $ afslog openafs.org $ afslog /afs/openafs.org/some/file SEE ALSO
krb_afslog(3) HEIMDAL
November 26, 2002 HEIMDAL
Man Page

Featured Tech Videos