Project

General

Profile

Bug #270

Machines can't find domain that the PDC created with a DNS error

Added by shu about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
08/11/2009
Due date:
% Done:

0%


Description

Windows machine failing to find domain. Everything looks ok in smb.conf and lmhosts.

This is there error message that I received"

Note: This information is intended for a network administrator.  If you are not your network's administrator, notify the administrator that you received this information, which has been recorded in the file C:\WINDOWS\debug\dcdiag.txt.

The domain name home might be a NetBIOS domain name.  If this is the case, verify that the domain name is properly registered with WINS.

If you are certain that the name is not a NetBIOS domain name, then the following information can help you troubleshoot your DNS configuration.

An error occurred when DNS was queried for the service location (SRV) resource record used to locate a domain controller for domain home.

The error was: "No records found for given DNS query." 
(error code 0x0000251D DNS_INFO_NO_RECORDS)

The query was for the SRV record for _ldap._tcp.dc._msdcs.home

For more information, click Help.

History

#1 Updated by cpg about 12 years ago

  • Subject changed from Machines can find domain that the pdc created. to Machines can't find domain that the PDC created with a DNS error

#2 Updated by shu about 12 years ago

Running nmblookup for home produced these results

oot@localhost samba]# nmblookup home
querying home on 192.168.1.255
name_query failed to find name home
[root@localhost samba]#

[root@localhost samba]# nmblookup home.com
querying home.com on 192.168.1.255
192.168.1.10 home.com<00>
[root@localhost samba]#

#3 Updated by cpg about 12 years ago

  • Status changed from New to Assigned
  • Assignee set to obnox

obnox, several people are having this. u think you can take a look?

#4 Updated by robbiet480 about 12 years ago

I am also having this issue. Feel free to contact me on IRC (robbiet480) to use my network as a testbed for fixes

#5 Updated by obnox about 12 years ago

It seems to be this way:
  • Windows box first tries to find the DC the Active-Directory way (with DNS SRV-record queries
  • Then it seems to try WINS lookups.
  • Then it fails. (SO NetBIOS name lookups via broadcasts seem to be disabled or else the two hosts are in different subnets.)
You could do several things to fix it:
  • You can turn your samba into a wins server with "wins support = yes" in smb.conf and then tell the windows boxes to use the samba server as the wins server. (I think this can be done via dhcp !)
  • You can turn on netbios name resolution via broadcasts somewhere in the windows dialogs. (Don't know by heart where it is.)
  • You might be able to fill the correct SRV dc-records into dns.

Does this help?

Cheers - Michael

#6 Updated by robbiet480 about 12 years ago

  • Status changed from Assigned to Closed

I successfully got the PDC working as did shu (after a bit more work though. I had to give him my smbusers to put into /etc/samba). I posted the FULL instructions in the wiki on the PDC page. Marking closed...

Also available in: Atom