Carlos Jesus
2021-Sep-09 14:10 UTC
[Samba] samba AD-DC with bind9, dyn-dns complains that "No AD dhcp user exists"
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? Rowland Penny via samba <samba at lists.samba.org> escreveu no dia quinta, 9/09/2021 ?(s) 12:14:> On Thu, 2021-09-09 at 11:51 +0100, Carlos Jesus wrote: > > Nope. It started as a samba 4.3. Upgraded to 4.8 then 4.10, then > > 4.12. > > Why? Functional level is 2008R2. > > If you do not have the _msdcs zone then you would appear to be using > the 'old' dns, which didn't have the _msdcs zone. The W2k and the early > 2003 servers used a different dns setup to the one used now. I am not > certain which dns the early Samba DC's used. > > This may help, but you use it at your own risk: > > > https://social.technet.microsoft.com/Forums/en-US/1807d5c4-2a8d-4283-869d-77553e4c3692/bpa-error-dns-zone-msdcsdomaincom-is-missing?forum=winserveripamdhcpdns > > Rowland > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
Rowland Penny
2021-Sep-09 15:06 UTC
[Samba] samba AD-DC with bind9, dyn-dns complains that "No AD dhcp user exists"
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 ? Rowland PS, can you please just reply to the list