Difference between revisions of "Kdc.conf"
From K5Wiki
Line 1: | Line 1: | ||
you can save it in /tmp/kdc.conf |
you can save it in /tmp/kdc.conf |
||
+ | <pre> |
||
+ | [kdcdefaults] |
||
+ | kdc_ports = 8888 |
||
+ | |||
+ | [realms] |
||
+ | EXAMPLE.ORG = { |
||
+ | database_name = /tmp/krb5kdc/principal |
||
+ | acl_file = /tmp/kadm5.acl |
||
+ | |||
+ | key_stash_file = /tmp/krb5kdc/.k5.EXAMPLE.ORG |
||
+ | # key_stash_file = /home/haoqili/trunk/src/tests/kdc_realm2/sandbox/.k5.ATHENA.MIT.EDU |
||
+ | admin_keytab = FILE:/tmp/krb5kdc/kadm5.keytab |
||
+ | kdc_ports = 8888 |
||
+ | kpasswd_port = 8887 |
||
+ | kadmind_port = 8886 |
||
+ | max_life = 10h 0m 0s |
||
+ | max_renewable_life = 7d 0h 0m 0s |
||
+ | } |
||
+ | [logging] |
||
+ | kdc = FILE:/tmp/myrealKDC.log |
||
+ | </pre> |
||
+ | |||
+ | 10:20, 17 August 2009 (EDT)10:20, 17 August 2009 (EDT)10:20, 17 August 2009 (EDT)10:20, 17 August 2009 (EDT)~ |
||
I saved it in /home/haoqili/trunk/src/tests/kdc_realm2/sandbox/kdc.conf |
I saved it in /home/haoqili/trunk/src/tests/kdc_realm2/sandbox/kdc.conf |
||
Revision as of 09:20, 17 August 2009
you can save it in /tmp/kdc.conf
[kdcdefaults] kdc_ports = 8888 [realms] EXAMPLE.ORG = { database_name = /tmp/krb5kdc/principal acl_file = /tmp/kadm5.acl key_stash_file = /tmp/krb5kdc/.k5.EXAMPLE.ORG # key_stash_file = /home/haoqili/trunk/src/tests/kdc_realm2/sandbox/.k5.ATHENA.MIT.EDU admin_keytab = FILE:/tmp/krb5kdc/kadm5.keytab kdc_ports = 8888 kpasswd_port = 8887 kadmind_port = 8886 max_life = 10h 0m 0s max_renewable_life = 7d 0h 0m 0s } [logging] kdc = FILE:/tmp/myrealKDC.log
10:20, 17 August 2009 (EDT)10:20, 17 August 2009 (EDT)10:20, 17 August 2009 (EDT)10:20, 17 August 2009 (EDT)~ I saved it in /home/haoqili/trunk/src/tests/kdc_realm2/sandbox/kdc.conf
[kdcdefaults] kdc_ports = 8888 [realms] EXAMPLE.ORG = { database_name = /home/haoqili/trunk/src/tests/kdc_realm2/sandbox/krb5kdc/principal acl_file = /home/haoqili/trunk/src/tests/kdc_realm2/sandbox/kadm5.acl key_stash_file = /home/haoqili/trunk/src/tests/kdc_realm2/sandbox/krb5kdc/.k5.EXAMPLE.ORG # key_stash_file = /home/haoqili/trunk/src/tests/kdc_realm2/sandbox/.k5.ATHENA.MIT.EDU admin_keytab = FILE:/home/haoqili/trunk/src/tests/kdc_realm2/sandbox/krb5kdc/kadm5.keytab kdc_ports = 8888 kpasswd_port = 8887 kadmind_port = 8886 max_life = 10h 0m 0s max_renewable_life = 7d 0h 0m 0s } [logging] kdc = FILE:/tmp/myrealKDC.log