Blame testing/kerberos/README
|
Ryan Haggerty |
a0f5ff |
INSTAll server
|
|
Ryan Haggerty |
e6f94f |
yum install krb5-server
|
|
Ryan Haggerty |
e6f94f |
and if the libs are not installed
|
|
Ryan Haggerty |
e6f94f |
yum install krb5-libs
|
|
Ryan Haggerty |
e6f94f |
|
|
Ryan Haggerty |
e6f94f |
copy krb5.conf to /etc/
|
|
Ryan Haggerty |
e6f94f |
copy kdc.conf to /var/kerberos/krb5kdc
|
|
Ryan Haggerty |
a8b62e |
copy kadm5.acl to /var/kerberos/krb5kdc/
|
|
Ryan Haggerty |
a0f5ff |
edit /etc/hosts to have th VMs ip associated with "noplace.org noplace"
|
|
Ryan Haggerty |
a0f5ff |
ie
|
|
Ryan Haggerty |
a0f5ff |
10.1.13.XXX noplace.org noplace
|
|
Ryan Haggerty |
e6f94f |
|
|
Ryan Haggerty |
e6f94f |
init the database and admin principals.
|
|
Ryan Haggerty |
e6f94f |
kdb5_util create -s
|
|
Ryan Haggerty |
e6f94f |
add an admin principal
|
|
Ryan Haggerty |
e6f94f |
kadmin.local
|
|
Ryan Haggerty |
e6f94f |
while running kadmin.local enter
|
|
Ryan Haggerty |
e6f94f |
addprinc master/admin
|
|
Ryan Haggerty |
e6f94f |
|
|
Ryan Haggerty |
a8b62e |
turn off iptables
|
|
Ryan Haggerty |
42fc9a |
start the service with init scripts
|
|
Ryan Haggerty |
42fc9a |
/etc/rc.d/init.d/krb5kdc start
|
|
Ryan Haggerty |
42fc9a |
/etc/rc.d/init.d/kadmin start
|
|
Ryan Haggerty |
42fc9a |
test it out
|
|
Ryan Haggerty |
42fc9a |
kinit master/admin
|
|
Ryan Haggerty |
a8b62e |
kadmin
|