- Complete re-write of sasc.
[dragonfly.git] / crypto / heimdal / kdc / kdc.cat8
1 KDC(8)                  NetBSD System Manager's Manual                  KDC(8)
2
3 N\bNA\bAM\bME\bE
4      k\bkd\bdc\bc - Kerberos 5 server
5
6 S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
7      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]
8      [-\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-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]
9      [-\b-K\bK | -\b--\b-n\bno\bo-\b-k\bka\bas\bse\ber\brv\bve\ber\br] [-\b-r\br _\br_\be_\ba_\bl_\bm] [-\b--\b-v\bv4\b4-\b-r\bre\bea\bal\blm\bm=\b=_\br_\be_\ba_\bl_\bm] [-\b-P\bP _\bs_\bt_\br_\bi_\bn_\bg |
10      -\b--\b-p\bpo\bor\brt\bts\bs=\b=_\bs_\bt_\br_\bi_\bn_\bg] [-\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]
11
12 D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
13      k\bkd\bdc\bc serves requests for tickets. When it starts, it first checks the
14      flags passed, any options that are not specified with a command line flag
15      is taken from a config file, or from a default compiled-in value.
16
17      Options supported:
18
19      -\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
20              Specifies the location of the config file, the default is
21              _\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
22              specified in the config file.
23
24      -\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
25              Turn off the requirement for pre-autentication in the initial AS-
26              REQ for all principals. The use of pre-authentication makes it
27              more difficult to do offline password attacks. You might want to
28              turn it off if you have clients that doesn't do pre-authentica-
29              tion. Since the version 4 protocol doesn't support any pre-au-
30              thentication, so serving version 4 clients is just about the same
31              as not requiring pre-athentication. The default is to require
32              pre-authentication. Adding the require-preauth per principal is a
33              more flexible way of handling this.
34
35      -\b--\b-m\bma\bax\bx-\b-r\bre\beq\bqu\bue\bes\bst\bt=\b=_\bs_\bi_\bz_\be
36              Gives an upper limit on the size of the requests that the kdc is
37              willing to handle.
38
39      -\b-H\bH, -\b--\b-e\ben\bna\bab\bbl\ble\be-\b-h\bht\btt\btp\bp
40              Makes the kdc listen on port 80 and handle requests encapsulated
41              in HTTP.
42
43      -\b-K\bK, -\b--\b-n\bno\bo-\b-k\bka\bas\bse\ber\brv\bve\ber\br
44              Disables kaserver emulation (in case it's compiled in).
45
46      -\b-r\br _\br_\be_\ba_\bl_\bm, -\b--\b-v\bv4\b4-\b-r\bre\bea\bal\blm\bm=\b=_\br_\be_\ba_\bl_\bm
47              What realm this server should act as when dealing with version 4
48              requests. The database can contain any number of realms, but
49              since the version 4 protocol doesn't contain a realm for the
50              server, it must be explicitly specified. The default is whatever
51              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
52              the KDC has been compiled with version 4 support.
53
54      -\b-P\bP _\bs_\bt_\br_\bi_\bn_\bg, -\b--\b-p\bpo\bor\brt\bts\bs=\b=_\bs_\bt_\br_\bi_\bn_\bg
55              Specifies the set of ports the KDC should listen on.  It is given
56              as a white-space separated list of services or port numbers.
57
58      -\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
59              The list of addresses to listen for requests on.  By default, the
60              kdc will listen on all the locally configured addresses.  If only
61              a subset is desired, or the automatic detection fails, this op-
62              tion might be used.
63
64      All activities , are logged to one or more destinations, see
65      krb5.conf(5), and krb5_openlog(3).  The entity used for logging is k\bkd\bdc\bc.
66
67 C\bCO\bON\bNF\bFI\bIG\bGU\bUR\bRA\bAT\bTI\bIO\bON\bN F\bFI\bIL\bLE\bE
68      The configuration file has the same syntax as krb5.conf(5), but will be
69      read before _\b/_\be_\bt_\bc_\b/_\bk_\br_\bb_\b5_\b._\bc_\bo_\bn_\bf, so it may override settings found there. Op-
70      tions specific to the KDC only are found in the ``[kdc]'' section.  All
71      the command-line options can preferably be added in the configuration
72      file.  The only difference is the pre-authentication flag, that has to be
73      specified as:
74
75            require-preauth = no
76
77      (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).
78
79      And there are some configuration options which do not have command-line
80      equivalents:
81
82            check-ticket-addresses = _\bb_\bo_\bo_\bl_\be_\ba_\bn
83                 Check the addresses in the ticket when processing TGS re-
84                 quests.  The default is FALSE.
85
86            allow-null-ticket-addresses = _\bb_\bo_\bo_\bl_\be_\ba_\bn
87                 Permit tickets with no addresses.  This option is only rele-
88                 vant when check-ticket-addresses is TRUE.
89
90            allow-anonymous = _\bb_\bo_\bo_\bl_\be_\ba_\bn
91                 Permit anonymous tickets with no addresses.
92
93            encode_as_rep_as_tgs_rep = _\bb_\bo_\bo_\bl_\be_\ba_\bn
94                 Encode AS-Rep as TGS-Rep to be bug-compatible with old DCE
95                 code.  The Heimdal clients allow both.
96
97            kdc_warn_pwexpire = _\bt_\bi_\bm_\be
98                 How long before password/principal expiration the KDC should
99                 start sending out warning messages.
100
101      An example of a config file:
102
103            [kdc]
104                    require-preauth = no
105                    v4-realm = FOO.SE
106                    key-file = /key-file
107
108 B\bBU\bUG\bGS\bS
109      If the machine running the KDC has new addresses added to it, the KDC
110      will have to be restarted to listen to them. The reason it doesn't just
111      listen to wildcarded (like INADDR_ANY) addresses, is that the replies has
112      to come from the same address they were sent to, and most OS:es doesn't
113      pass this information to the application. If your normal mode of opera-
114      tion require that you add and remove addresses, the best option is proba-
115      bly to listen to a wildcarded TCP socket, and make sure your clients use
116      TCP to connect. For instance, this will listen to IPv4 TCP port 88 only:
117
118            kdc --addresses=0.0.0.0 --ports="88/tcp"
119
120      There should be a way to specify protocol, port, and address triplets,
121      not just addresses and protocol, port tuples.
122
123 S\bSE\bEE\bE A\bAL\bLS\bSO\bO
124      kinit(1), krb5.conf(5)
125
126  HEIMDAL                        August 22, 2002                              2