Key table file '/etc/krb5.keytab' not found

Jeronimo jscmenezes at gmail.com
Fri May 13 10:14:24 MDT 2011


Hi,

STEP 10 of Samba4 HOW-TO.

When I try to start BIND:

$ sudo named -4 -c /etc/bind/named.conf -g -u bind -d 655351
...
...
13-May-2011 13:05:31.677 acquiring credentials for DNS/samba4.cpd.ufrgs.br
13-May-2011 13:05:31.678 failed to acquire accept credentials for DNS/
samba4.cpd.ufrgs.br: GSSAPI error: Major = Unspecified GSS failure.  Minor
code may provide more information, Minor = Key table file '/etc/krb5.keytab'
not found.
13-May-2011 13:05:31.678 configuring TKEY: failure
13-May-2011 13:05:31.678 load_configuration: failure
13-May-2011 13:05:31.678 loading configuration: failure
13-May-2011 13:05:31.678 exiting (due to fatal error)


I already edited /etc/default/bind9:

$ sudo cat /etc/default/bind9
# run resolvconf?
RESOLVCONF=yes

# startup options for the server
OPTIONS="-u bind"

KEYTAB_FILE="/usr/local/samba/private/dns.keytab"
KRB5_KTNAME="/usr/local/samba/private/dns.keytab"
export KEYTAB_FILE
export KRB5_KTNAME


Why bind9 tried to locate /etc/krb5.keytab ?
What's wrong?

Please help me!

Thanks in advance,

Jeronimo


More information about the samba-technical mailing list