Difference between revisions of "Kdc.conf"
From K5Wiki
(took out old) |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | /tmp/ |
+ | save it in /tmp/kdc.conf |
<pre> |
<pre> |
||
[kdcdefaults] |
[kdcdefaults] |
||
Line 6: | Line 6: | ||
[realms] |
[realms] |
||
EXAMPLE.ORG = { |
EXAMPLE.ORG = { |
||
− | database_name = |
+ | database_name = /tmp/krb5kdc/principal |
− | acl_file = |
+ | acl_file = /tmp/kadm5.acl |
− | + | ||
− | + | key_stash_file = /tmp/krb5kdc/.k5.EXAMPLE.ORG |
|
+ | admin_keytab = FILE:/tmp/krb5kdc/kadm5.keytab |
||
kdc_ports = 8888 |
kdc_ports = 8888 |
||
kpasswd_port = 8887 |
kpasswd_port = 8887 |
||
Line 17: | Line 17: | ||
} |
} |
||
[logging] |
[logging] |
||
− | kdc = FILE:/tmp/ |
+ | kdc = FILE:/tmp/kdc.log |
</pre> |
</pre> |
||
− | -------------------- |
||
− | you can save it in /tmp/kdc.conf |
||
+ | ==/tmp/kdc_template.conf== |
||
+ | |||
<pre> |
<pre> |
||
[kdcdefaults] |
[kdcdefaults] |
||
Line 28: | Line 28: | ||
[realms] |
[realms] |
||
EXAMPLE.ORG = { |
EXAMPLE.ORG = { |
||
− | database_name = |
+ | database_name = %(sandir)s/principal |
− | acl_file = |
+ | acl_file = %(sandir)s/kadm5.acl |
− | + | key_stash_file = %(sandir)s/.k5.EXAMPLE.ORG |
|
− | + | admin_keytab = FILE:%(sandir)s/kadm5.keytab |
|
− | admin_keytab = FILE:/tmp/krb5kdc/kadm5.keytab |
||
kdc_ports = 8888 |
kdc_ports = 8888 |
||
kpasswd_port = 8887 |
kpasswd_port = 8887 |
Latest revision as of 10:56, 18 August 2009
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 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/kdc.log
/tmp/kdc_template.conf
[kdcdefaults] kdc_ports = 8888 [realms] EXAMPLE.ORG = { database_name = %(sandir)s/principal acl_file = %(sandir)s/kadm5.acl key_stash_file = %(sandir)s/.k5.EXAMPLE.ORG admin_keytab = FILE:%(sandir)s/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