Fixing configuration files.

This commit is contained in:
Ryan Haggerty 2005-11-08 15:14:11 +00:00
parent 76febd2146
commit 42fc9a850d
3 changed files with 20 additions and 5 deletions

View File

@ -3,6 +3,7 @@ install server
and if the libs are not installed
yum install krb5-libs
===================
set a hostname
hostname noplace.org
@ -15,5 +16,16 @@ add an admin principal
kadmin.local
while running kadmin.local enter
addprinc master/admin
===================
init the database and admin principals.
kdb5_util create -s
add an admin principal
kadmin.local
while running kadmin.local enter
addprinc master/admin
start the service with init scripts
/etc/rc.d/init.d/krb5kdc start
/etc/rc.d/init.d/kadmin start
test it out
kinit master/admin

View File

@ -1,3 +1,6 @@
[kdcdefaults]
kdc_ports = 88,750
[realms]
NOPLACE.ORG = {
database_name = /var/kerberos/krb5kdc/princiapal

View File

@ -3,14 +3,14 @@
[realms]
NOPLACE.ORG = {
kdc = freebsd.NOPLACE.ORG:88
kdc = NOPLACE.ORG:88
admin_server = NOPLACE.ORG:749
default_domain = NOPLACE.ORG
default_domain = noplace.org
}
[domain_realm]
NOPLACE.ORG = NOPLACE.ORG
.NOPLACE.ORG = NOPLACE.ORG
noplace.org = NOPLACE.ORG
.noplace.org = NOPLACE.ORG
[logging]
kdc = FILE:/var/log/krb5kdc.log