[Samba] Replication problems bdc to pdc

Rowland Penny rpenny at samba.org
Wed Dec 13 19:56:57 UTC 2017

On Wed, 13 Dec 2017 20:21:44 +0100
Jiří Knotek via samba <samba at lists.samba.org> wrote:

> I am not a Linux Guru, so I just learned how to configure dhcpd5 to 
> using static address instead of uninstalling. To avoid any potential 
> problems. It looks the opposite :-).

Raspbian now uses dhcpd5, they seem to think it makes things easier, it
might do if you are just using the rpi as a client, but it just makes
things harder for me (I am not alone, the rpi forum is littered with
'how do I set a fixed ipaddress' questions)
If you remove the dhcpd5 package, you will find that the dhcp-client
package is also installed, so you can use this for getting the
computers info via DHCP, or you can set a fixed IP etc
in /etc/network/interfaces 

> In "/var/lib/samba/private/named.conf" is a line "// If you are just 
> adding zones, please do that in /etc/bind/named.conf.local". I do not 
> use it, I estimate the zone will add samba provisioning. I have to
> see what a zone is.

A dns zone is dns info is stored and is named after the dns domain, it
can be a forward or reverse zone. For instance, if your dns domain is
called 'example.com' the AD forward zone will be called 'example.com',
you will also have a forest forward zone called '_msdcs.example.com'

The reverse zone is based on your IP and netmask, if your DCs
ipaddress is, then the reversezone would be

You can find out your zones with:

samba-tool dns zonelist -U Administrator

More information about the samba mailing list