Key table file '/etc/krb5.keytab' not found
Aaron E.
ssureshot at gmail.com
Fri May 13 10:25:29 MDT 2011
I added the following to the init script. So if I try to start it with
your line I get the same error as you.. This would seem that your
environment variables are not being read properly.. Also, make sure that
bind is compiled with gssapi support..
> KEYTAB_FILE="/usr/local/samba/private/dns.keytab"
> KRB5_KTNAME="/usr/local/samba/private/dns.keytab"
> export KEYTAB_FILE
> export KRB5_KTNAME
On 05/13/2011 12:14 PM, Jeronimo wrote:
> 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