1KRB5KDC(8)                  System Manager's Manual                 KRB5KDC(8)
2
3
4

NAME

6       krb5kdc - Kerberos V5 KDC
7

SYNOPSIS

9       krb5kdc  [  -x db_args ] [ -d dbname ] [ -k keytype ] [ -M mkeyname ] [
10       -p portnum ] [ -m ] [ -r realm ] [ -n ] [ -P pid_file ]
11

DESCRIPTION

13       krb5kdc is the Kerberos version 5 Authentication Service and  Key  Dis‐
14       tribution Center (AS/KDC).
15
16       The -x db_args option specifies the database specific arguments.
17
18       Options supported for LDAP database are:
19
20               -x nconns=<number_of_connections>
21               specifies  the  number of connections to be maintained per LDAP
22               server.
23
24               -x host=<ldapuri>
25               specifies the LDAP server to connect to by a LDAP URI.
26
27               -x binddn=<binddn>
28               specifies the DN of the object used by the KDC server  to  bind
29               to the LDAP server.  This object should have the rights to read
30               the realm container, principal container and the  subtree  that
31               is referenced by the realm.
32
33               -x bindpwd=<bind_password>
34               specifies  the  password  for the above mentioned binddn. It is
35               recommended not to use this option.  Instead, the password  can
36               be stashed using the stashsrvpw command of kdb5_ldap_util.
37
38       The  -r  realm  option  specifies the realm for which the server should
39       provide    service;    by    default    the    realm    returned     by
40       krb5_default_local_realm(3) is used.
41
42       The -d dbname option specifies the name under which the principal data‐
43       base can be found; by default  the  database  is  in  DEFAULT_DBM_FILE.
44       This option does not apply to the LDAP database.
45
46       The  -k  keytype  option specifies the key type of the master key to be
47       entered manually as a  password  when  -m  is  given;  the  default  is
48       "des-cbc-crc".
49
50       The  -M mkeyname option specifies the principal name for the master key
51       in the database; the default is KRB5_KDB_M_NAME (usually "K/M"  in  the
52       KDC's realm).
53
54       The  -p  portnum option specifies the default UDP port number which the
55       KDC should listen on for Kerberos version 5 requests.   This  value  is
56       used  when  no port is specified in the KDC profile and when no port is
57       specified in the Kerberos configuration file.  If no  value  is  avail‐
58       able, then the value in /etc/services for service "kerberos" is used.
59
60       The  -m  option  specifies  that the master database password should be
61       fetched from the keyboard rather than from a file on disk.
62
63       The -n option specifies that the KDC does not put itself in  the  back‐
64       ground  and  does not disassociate itself from the terminal.  In normal
65       operation, you should always allow the KDC to place itself in the back‐
66       ground.
67
68       The  -P  pid_file  option tells the KDC to write its PID (followed by a
69       newline) into pid_file after it starts up.  This can be used  to  iden‐
70       tify whether the KDC is still running and to allow init scripts to stop
71       the correct process.
72
73       The KDC may service requests for multiple realms (maximum  32  realms).
74       The  realms are listed on the command line.  Per-realm options that can
75       be specified on the command line pertain for each realm that follows it
76       and  are  superceded by subsequent definitions of the same option.  For
77       example,
78
79       krb5kdc -p 2001 -r REALM1 -p 2002 -r REALM2 -r REALM3
80
81       specifies that the KDC listen on port 2001 for REALM1 and on port  2002
82       for REALM2 and REALM3.  Additionally, per-realm parameters may be spec‐
83       ified in the kdc.conf file.  The location of this file may be specified
84       by  the KRB5_KDC_PROFILE environment variable.  Parameters specified in
85       this file take precedence over options specified on the  command  line.
86       See the kdc.conf(5) description for further details.
87

SEE ALSO

89       krb5(3), kdb5_util(8), kdc.conf(5), kdb5_ldap_util(8)
90

BUGS

92       It  should fork and go into the background when it finishes reading the
93       master password from the terminal.
94
95
96
97                                                                    KRB5KDC(8)
Impressum