[Ubuntu-BR] Samba4 + Bind9

Gilberto Nunes gilberto.nunes em selbetti.com.br
Quinta Novembro 19 10:08:31 UTC 2009


Bom dia

Alguém já configurou samba 4 com bind 9 no UBuntu???

Estou tentando configurar Samba 4 e integra-lo ao DNS (bind9).
Estou usando Ubuntu 9.10.

Já configurei o named.conf e o named.options.
Este último está assim:
options {
        directory "/var/cache/bind";

        // If there is a firewall between you and nameservers you want
        // to talk to, you may need to fix the firewall to allow
multiple
        // ports to talk.  See http://www.kb.cert.org/vuls/id/800113

        // If your ISP provided one or more IP addresses for stable 
        // nameservers, you probably want to use them as forwarders.  
        // Uncomment the following block, and insert the addresses
replacing 
        // the all-0's placeholder.

        // forwarders {
        //      0.0.0.0;
        // };

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

Porém, quando defino a variável KRB5_KTNAME:

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

E tento "levantar" o bind assim:

named -d 9999 -f -g

Tenho a seguinte mensagem de erro:

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.

O que pode estar errado???

Obrigado


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-br mailing list