[Samba] samba AD-DC with bind9, dyn-dns complains that "No AD dhcp user exists"

Rowland Penny rpenny at samba.org
Thu Sep 9 15:06:14 UTC 2021

On Thu, 2021-09-09 at 15:10 +0100, Carlos Jesus wrote:
> Hi Rolland,
> not sure I completely understood.
> The idea is to create the _msdcs.domain.com zone in AD, but I can't
> use samba-tool dns to do that. Already tried. And RSAT doesnt work
> either. Is there any other way?

Hi fred :-)

Can you run this on a DC:

sudo ldbsearch -H ldap://$(hostname -s) -P -b "DC=_msdcs.$(hostname
-d),CN=MicrosoftDNS,DC=ForestDnsZones,$(echo "DC=$(hostname -d)" | sed
's/\./,DC=/g') | grep 'dn:'

It is all supposed to be on one line.
Does it produce output and if so, what ?


PS, can you please just reply to the list

More information about the samba mailing list