2 KDC(8) UNIX System Manager's Manual KDC(8)
5 k
\bkd
\bdc
\bc - Kerberos 5 server
7 S
\bSY
\bYN
\bNO
\bOP
\bPS
\bSI
\bIS
\bS
8 k
\bkd
\bdc
\bc [-
\b-c
\bc _
\bf_
\bi_
\bl_
\be | -
\b--
\b-c
\bco
\bon
\bnf
\bfi
\big
\bg-
\b-f
\bfi
\bil
\ble
\be=
\b=_
\bf_
\bi_
\bl_
\be] [-
\b-p
\bp | -
\b--
\b-n
\bno
\bo-
\b-r
\bre
\beq
\bqu
\bui
\bir
\bre
\be-
\b-p
\bpr
\bre
\bea
\bau
\but
\bth
\bh]
9 [-
\b--
\b-m
\bma
\bax
\bx-
\b-r
\bre
\beq
\bqu
\bue
\bes
\bst
\bt=
\b=_
\bs_
\bi_
\bz_
\be] [-
\b-H
\bH | -
\b--
\b-e
\ben
\bna
\bab
\bbl
\ble
\be-
\b-h
\bht
\btt
\btp
\bp] [-
\b--
\b-n
\bno
\bo-
\b-5
\b52
\b24
\b4] [-
\b--
\b-k
\bke
\ber
\brb
\bbe
\ber
\bro
\bos
\bs4
\b4]
10 [-
\b--
\b-k
\bke
\ber
\brb
\bbe
\ber
\bro
\bos
\bs4
\b4-
\b-c
\bcr
\bro
\bos
\bss
\bs-
\b-r
\bre
\bea
\bal
\blm
\bm] [-
\b-r
\br _
\bs_
\bt_
\br_
\bi_
\bn_
\bg | -
\b--
\b-v
\bv4
\b4-
\b-r
\bre
\bea
\bal
\blm
\bm=
\b=_
\bs_
\bt_
\br_
\bi_
\bn_
\bg] [-
\b-K
\bK |
11 -
\b--
\b-k
\bka
\bas
\bse
\ber
\brv
\bve
\ber
\br] [-
\b-P
\bP _
\bp_
\bo_
\br_
\bt_
\bs_
\bp_
\be_
\bc | -
\b--
\b-p
\bpo
\bor
\brt
\bts
\bs=
\b=_
\bp_
\bo_
\br_
\bt_
\bs_
\bp_
\be_
\bc] [-
\b--
\b-d
\bde
\bet
\bta
\bac
\bch
\bh] [-
\b--
\b-a
\bad
\bdd
\bdr
\bre
\bes
\bss
\bse
\bes
\bs=
\b=_
\bl_
\bi_
\bs_
\bt
12 _
\bo_
\bf _
\ba_
\bd_
\bd_
\br_
\be_
\bs_
\bs_
\be_
\bs]
14 D
\bDE
\bES
\bSC
\bCR
\bRI
\bIP
\bPT
\bTI
\bIO
\bON
\bN
15 k
\bkd
\bdc
\bc serves requests for tickets. When it starts, it first checks the
16 flags passed, any options that are not specified with a command line flag
17 are taken from a config file, or from a default compiled-in value.
21 -
\b-c
\bc _
\bf_
\bi_
\bl_
\be, -
\b--
\b-c
\bco
\bon
\bnf
\bfi
\big
\bg-
\b-f
\bfi
\bil
\ble
\be=
\b=_
\bf_
\bi_
\bl_
\be
22 Specifies the location of the config file, the default is
23 _
\b/_
\bv_
\ba_
\br_
\b/_
\bh_
\be_
\bi_
\bm_
\bd_
\ba_
\bl_
\b/_
\bk_
\bd_
\bc_
\b._
\bc_
\bo_
\bn_
\bf. This is the only value that can't be spec-
24 ified in the config file.
26 -
\b-p
\bp, -
\b--
\b-n
\bno
\bo-
\b-r
\bre
\beq
\bqu
\bui
\bir
\bre
\be-
\b-p
\bpr
\bre
\bea
\bau
\but
\bth
\bh
27 Turn off the requirement for pre-autentication in the initial AS-
28 REQ for all principals. The use of pre-authentication makes it
29 more difficult to do offline password attacks. You might want to
30 turn it off if you have clients that don't support pre-authenti-
31 cation. Since the version 4 protocol doesn't support any pre-au-
32 thentication, serving version 4 clients is just about the same as
33 not requiring pre-athentication. The default is to require pre-
34 authentication. Adding the require-preauth per principal is a
35 more flexible way of handling this.
37 -
\b--
\b-m
\bma
\bax
\bx-
\b-r
\bre
\beq
\bqu
\bue
\bes
\bst
\bt=
\b=_
\bs_
\bi_
\bz_
\be
38 Gives an upper limit on the size of the requests that the kdc is
41 -
\b-H
\bH, -
\b--
\b-e
\ben
\bna
\bab
\bbl
\ble
\be-
\b-h
\bht
\btt
\btp
\bp
42 Makes the kdc listen on port 80 and handle requests encapsulated
45 -
\b--
\b-n
\bno
\bo-
\b-5
\b52
\b24
\b4
46 don't respond to 524 requests
48 -
\b--
\b-k
\bke
\ber
\brb
\bbe
\ber
\bro
\bos
\bs4
\b4
49 respond to Kerberos 4 requests
51 -
\b--
\b-k
\bke
\ber
\brb
\bbe
\ber
\bro
\bos
\bs4
\b4-
\b-c
\bcr
\bro
\bos
\bss
\bs-
\b-r
\bre
\bea
\bal
\blm
\bm
52 respond to Kerberos 4 requests from foreign realms. This is a
53 known security hole and should not be enabled unless you under-
54 stand the consequences and are willing to live with them.
56 -
\b-r
\br _
\bs_
\bt_
\br_
\bi_
\bn_
\bg, -
\b--
\b-v
\bv4
\b4-
\b-r
\bre
\bea
\bal
\blm
\bm=
\b=_
\bs_
\bt_
\br_
\bi_
\bn_
\bg
57 What realm this server should act as when dealing with version 4
58 requests. The database can contain any number of realms, but
59 since the version 4 protocol doesn't contain a realm for the
60 server, it must be explicitly specified. The default is whatever
61 is returned by k
\bkr
\brb
\bb_
\b_g
\bge
\bet
\bt_
\b_l
\blr
\bre
\bea
\bal
\blm
\bm(). This option is only availabe if
62 the KDC has been compiled with version 4 support.
64 -
\b-K
\bK, -
\b--
\b-k
\bka
\bas
\bse
\ber
\brv
\bve
\ber
\br
66 Enable kaserver emulation (in case it's compiled in).
68 -
\b-P
\bP _
\bp_
\bo_
\br_
\bt_
\bs_
\bp_
\be_
\bc, -
\b--
\b-p
\bpo
\bor
\brt
\bts
\bs=
\b=_
\bp_
\bo_
\br_
\bt_
\bs_
\bp_
\be_
\bc
69 Specifies the set of ports the KDC should listen on. It is given
70 as a white-space separated list of services or port numbers.
72 -
\b--
\b-a
\bad
\bdd
\bdr
\bre
\bes
\bss
\bse
\bes
\bs=
\b=_
\bl_
\bi_
\bs_
\bt _
\bo_
\bf _
\ba_
\bd_
\bd_
\br_
\be_
\bs_
\bs_
\be_
\bs
73 The list of addresses to listen for requests on. By default, the
74 kdc will listen on all the locally configured addresses. If only
75 a subset is desired, or the automatic detection fails, this op-
78 All activities are logged to one or more destinations, see krb5.conf(5),
79 and krb5_openlog(3). The entity used for logging is k
\bkd
\bdc
\bc.
81 C
\bCO
\bON
\bNF
\bFI
\bIG
\bGU
\bUR
\bRA
\bAT
\bTI
\bIO
\bON
\bN F
\bFI
\bIL
\bLE
\bE
82 The configuration file has the same syntax as krb5.conf(5), but will be
83 read before _
\b/_
\be_
\bt_
\bc_
\b/_
\bk_
\br_
\bb_
\b5_
\b._
\bc_
\bo_
\bn_
\bf, so it may override settings found there. Op-
84 tions specific to the KDC only are found in the ``[kdc]'' section. All
85 the command-line options can preferably be added in the configuration
86 file. The only difference is the pre-authentication flag, which has to
91 (in fact you can specify the option as -
\b--
\b-r
\bre
\beq
\bqu
\bui
\bir
\bre
\be-
\b-p
\bpr
\bre
\bea
\bau
\but
\bth
\bh=
\b=n
\bno
\bo).
93 And there are some configuration options which do not have command-line
96 check-ticket-addresses = _
\bb_
\bo_
\bo_
\bl_
\be_
\ba_
\bn
97 Check the addresses in the ticket when processing TGS re-
98 quests. The default is FALSE.
100 allow-null-ticket-addresses = _
\bb_
\bo_
\bo_
\bl_
\be_
\ba_
\bn
101 Permit tickets with no addresses. This option is only rele-
102 vant when check-ticket-addresses is TRUE.
104 allow-anonymous = _
\bb_
\bo_
\bo_
\bl_
\be_
\ba_
\bn
105 Permit anonymous tickets with no addresses.
107 enforce-transited-policy = _
\bb_
\bo_
\bo_
\bl_
\be_
\ba_
\bn
108 Always verify the transited policy, ignoring the _
\bd_
\bi_
\bs_
\ba_
\bb_
\bl_
\be_
\b-
109 _
\bt_
\br_
\ba_
\bn_
\bs_
\bi_
\bt_
\be_
\bd_
\b-_
\bc_
\bh_
\be_
\bc_
\bk flag if set in the KDC client request.
111 encode_as_rep_as_tgs_rep = _
\bb_
\bo_
\bo_
\bl_
\be_
\ba_
\bn
112 Encode AS-Rep as TGS-Rep to be bug-compatible with old DCE
113 code. The Heimdal clients allow both.
115 kdc_warn_pwexpire = _
\bt_
\bi_
\bm_
\be
116 How long before password/principal expiration the KDC should
117 start sending out warning messages.
119 The configuration file is only read when the k
\bkd
\bdc
\bc is started. If changes
120 made to the configuration file are to take effect, the k
\bkd
\bdc
\bc needs to be
123 An example of a config file:
131 If the machine running the KDC has new addresses added to it, the KDC
132 will have to be restarted to listen to them. The reason it doesn't just
133 listen to wildcarded (like INADDR_ANY) addresses, is that the replies has
134 to come from the same address they were sent to, and most OS:es doesn't
135 pass this information to the application. If your normal mode of opera-
136 tion require that you add and remove addresses, the best option is proba-
137 bly to listen to a wildcarded TCP socket, and make sure your clients use
138 TCP to connect. For instance, this will listen to IPv4 TCP port 88 only:
140 kdc --addresses=0.0.0.0 --ports="88/tcp"
142 There should be a way to specify protocol, port, and address triplets,
143 not just addresses and protocol, port tuples.
145 S
\bSE
\bEE
\bE A
\bAL
\bLS
\bSO
\bO
146 kinit(1), krb5.conf(5)
148 HEIMDAL October 21, 2003 3