[Samba] samba AD-DC with bind9, dyn-dns complains that "No AD dhcp user exists"
rpenny at samba.org
Tue Sep 7 19:42:17 UTC 2021
On Tue, 2021-09-07 at 20:25 +0100, Carlos Jesus via samba wrote:
> Hi all, once again I ask for your help since I'm out of ideas. First
> Two DC's running Debian buster and samba 4.12.11 with bind9, and
> dns through dhcp (in failover mode) using the wiki script. One of the
> is physical, the other is virtual (Proxmox).
> Both DC's have very similar configurations (but we all have heard
> this a
> thousand times...) and on the physical DC all is well, let's forget
> On the virtual DC, I get the error "No AD dhcp user exists"
> blablabla. If I
> run the suggested commands (kinit Administrator at SAMDOM.EXAMPLE etc),
> complains that the user already exists which can be confirmed by
> -u|grep dhcpduser.
> The dhcp server is working since I get things like
> DHCPINFORM from 192.168.1.147 via br0
> DHCPACK to 192.168.1.147 (00:13:72:40:50:6a) via br0
> execute: /usr/local/bin/dhcp-dyndns.sh exit status 256
> Unfortunatly I don't know what "exit status 256" is
> 1) /etc/dhcpd.keytab exists and with right permissions (root:root
> 2)bind9 is up and running
> 3) /etc/resolv.conf
> options rotate timeout:5
> search SAMDOM.EXAMPLE
> nameserver 192.168.1.150
> nameserver 192.168.1.149
> 4) Running TESTUSER="$(wbinfo -u | grep 'dhcpduser')" returns
> SAMDOM/dhcpduser (as expected, so why does the script thinks TESTUSER
> I can provide dhcpd.conf, named.conf and smb.conf however, they are
> simillar on both DC's.
> Any ideas?
> Best regards
I have read somewhere that failover is broken in isc-dhcp-server on
buster, you need to compile it yourself. I am sorry, but I cannot
remember where I read this and it is late here, if you cannot find it,
I will try and find it myself tomorrow.
More information about the samba