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
Carlos Jesus
2021-Sep-09 15:18 UTC
[Samba] samba AD-DC with bind9, dyn-dns complains that "No AD dhcp user exists"
Sorry about that Rowland, my bad... the command given returns a ">" prompt. it seems to be waiting for further input. Rowland Penny via samba <samba at lists.samba.org> escreveu no dia quinta, 9/09/2021 ?(s) 16:07:> 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 > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >