Samba 4 + bind9

Gilberto Nunes gilberto.nunes at selbetti.com.br
Thu Nov 19 10:18:31 UTC 2009


Hi all

I try deploy samba 4 with bind 9.
I already configure named.conf and named.options according to:

http://wiki.samba.org/index.php/Samba4/HOWTO

But when I declare this variable:

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

And try run

named -d 9999 -f -g

I get this message from console:

19-Nov-2009 08:01:33.782 failed to acquire accept credentials for
DNS/selb.local: GSSAPI error: Major = An invalid name was supplied,
Minor = Configuration file does not specify default realm.

I do not know what's happen...

Somebody can help me...

name.conf:

include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";

zone "selb.local." IN {
        type master;
        file "/usr/local/samba/private/selb.local.zone";
update-policy {
                grant SELB.LOCAL ms-self * A AAAA;
        };
};
zone "200.168.192.in-addr.arpa" in {
        type master;
        file "200.168.192.in-addr.arpa.zone";
        update-policy {
                grant *.LOCAL wildcard *.200.168.192.in-addr.arpa. PTR;
        };
};
And named.options here:

options {
        directory "/var/cache/bind";

       auth-nxdomain no;    # conform to RFC1035
        listen-on-v6 { any; };
        tkey-gssapi-credential "DNS/selb.local";
        tkey-domain "SELB.LOCAL";
};


Thanks for any help

Gilberto Nunes Ferreira
TI
Selbetti Gestão de Documentos
Telefone: +55 (47) 3441-6004
Celular: +55 (47) 8861-6672



"Bendita a nação cujo Deus é o SENHOR!"
99 <><







More information about the ubuntu-users mailing list