[Pkg-samba-maint] Bug#723926: Wrong DNS principal in default Samba4 installation

Risto Paavola risto.paavola at gmail.com
Sat Sep 21 10:58:10 UTC 2013


Package: samba4
Version: 4.0.0beta2

I'm using out-of-the-box Debian 7.1 with samba4 installed from aptitude.

I'm provisioning my Samba 4 domain with following command:
/usr/share/samba/setup/provision --realm=realm.local --domain=DOMAIN
--adminpass='secret' --server-role=dc

Samba 4 DNS keytab file (/var/lib/samba/private/dns.keytab) is being auto
generated wrongly.
If you look into the keytab:
klist -k /var/lib/samba/private/dns.keytab
...
DNS/hostname.domainname at DOMAIN
...

BUT samba_dnsupdate tries to use DNS/hostname at DOMAIN instead of
DNS/hostname.domainname at DOMAIN.

Keytab can be fixed with following additional export:
samba-tool domain exportkeytab --principal=DNS/hostname
/var/lib/samba/private/dns.keytab

I'm using:
Linux ... 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1+deb7u1 X86_64 GNU/Linux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20130921/d52309a1/attachment.html>


More information about the Pkg-samba-maint mailing list