hi,how can i add a client to KDS? kadmin: Incorrect password while initializing kadmin interface

ch huang justlooks at gmail.com
Thu Dec 19 01:57:20 EST 2013

           i do the following action but seems not work

# yum install krb5-workstation
copy krb5.conf from KDS host

and here is my krb5.conf content

 default = FILE:/var/log/krb5libs.log
 kdc = FILE:/var/log/krb5kdc.log
 admin_server = FILE:/var/log/kadmind.log
 default_realm = EXAMPLE.COM
 dns_lookup_realm = false
 dns_lookup_kdc = false
 ticket_lifetime = 24h
 forwardable = yes
  kdc = kerberos.benchmark.com:88
  admin_server = kerberos.benchmark.com:749
  default_domain = benchmark.com
 .benchmark.com = BENCHMARK.COM
 benchmark.com = BENCHMARK.COM
 pam = {
   debug = false
   ticket_lifetime = 36000
   renew_lifetime = 36000
   forwardable = true
   krb4_convert = false
also, client can find KDS

# nslookup
Address:     name = kerberos.benchmark.com.
# ping kerberos.benchmark.com
PING kerberos.benchmark.com ( 56(84) bytes of data.
64 bytes from CH124 ( icmp_seq=1 ttl=64 time=0.109 ms
64 bytes from CH124 ( icmp_seq=2 ttl=64 time=0.166 ms

when i do this from client ,it not work

# kadmin -r BENCHMARK.COM -p host/monitor.benchmark.com at BENCHMARK.COM -w
root -q "ktadd  -k /etc/krb5.keytab host/monitor.benchmark.com at BENCHMARK.COM
Authenticating as principal host/monitor.benchmark.com at BENCHMARK.COM with
kadmin: Incorrect password while initializing kadmin interface
but i can do on KDS with same password,i do not know why? anyone can help?

# kadmin -r BENCHMARK.COM
Authenticating as principal root/admin at BENCHMARK.COM with password.
Password for root/admin at BENCHMARK.COM:

More information about the Kerberos mailing list