[Samba] Question about domain name with BIND9_DLZ
rowlandpenny at googlemail.com
Sat Apr 18 05:25:24 MDT 2015
On 18/04/15 12:11, Daniel Carrasco Marín wrote:
> Hi, first of all i'm sorry for my english.
> I'm doing some tests to migrate a Samba3 domain to Samba4 with BIND9_DLZ,
> but the Domain name in Windows information is not correct. Is not a problem
> because all works as expected, but i wan't to know if i'm doing something
> wrong that can cause problems in future.
> I've done the tests with this command:
> samba-tool domain provision --use-rfc2307 --realm=home.red --domain=HOME
> --adminpass="Pass" --server-role=dc --dns-backend=BIND9_DLZ
> If i use the samba internal backend then the Domain Name in Windows is
> right (HOME) and machine don't change (machine), but if I use the BIND9_DLZ
> backend then the domain name is changed (home.red) and the machine name too
> Samba version is 4.2.1 stable compiled from git, and bind is the 9.9.7
> compiled from source.
> I've used this options to compile:
> ./configure --sysconfdir=/etc/samba --bindir=/usr/bin --sbindir=/usr/sbin
> ./configure --with-gssapi=/usr/include/gssapi --with-openssl=/usr
> --enable-largefile --with-dlopen=yes --sysconfdir=/etc/bind
> --bindir=/usr/bin --sbindir=/usr/sbin --enable-threads --enable-rrl
> and of course i've included the link to "include
> "/usr/local/samba/private/named.conf";" in BIND9 named.conf, and i've
> uncommented the right version in that file.
> The command "smbclient -L localhost -U%" shows the right info.
> I'm doing something wrong?.
> Can be problematic on future?.
> Is there any way to fix it?.
What OS ?
Do your windows clients get their ipaddresses via dhcp ?
and if so, is the dhcp server supplying the domain name ?
How have you set up bind9 ?
More information about the samba