[Samba] DNS-error from one machine when trying to join domain

Josh Kelley joshkel at gmail.com
Mon Jul 16 02:45:56 GMT 2007

On 7/13/07, Huyth Jenssen <huyth515 at gmail.com> wrote:
> I finally managed to setup samba as a PDC and I was delighted to see that it
> actually worked this time, thanks to a few people here on the list. I could
> join the domain from the a computer running XP but I'm having some trouble
> when I try to connect from another computer. I get the following message;
> "A domain controller for the domain could not be contacted
> The error was: 'DNS name does not exist.'
> (error code 0x0000232B RCODE_NAME_ERROR)
> The query was for the SRV record for _ldap._tcp.dc._msdcs.DOMAIN NAME
> Common causes of this error include the following:
> - The DNS SRV record is not registered in DNS."

It's been a while since I've run Samba as a PDC, so my memory is
fuzzy, but I do know that this error indicates that Windows is trying
to join an Active Directory domain (which uses DNS).  So either it's
not configured to try joining an NT-style domain such as Samba runs,
or it's failing to see your NT-style domain.  I'd recommend that you
start by checking your network settings on the client: check that
NetBIOS over TCP is not disabled, and configure a WINS server, if
necessary.  Running Wireshark might help you see if the computer's
even trying to find an NT-style domain and what's going wrong if it

Josh Kelley

More information about the samba mailing list