Huyth Jenssen
2007-Jul-13 20:58 UTC
[Samba] DNS-error from one machine when trying to join domain
Hello again. 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." My smb.conf is: [global] workgroup = AE.LOCAL server string = %h server (Samba, Ubuntu) obey pam restrictions = Yes passdb backend = ldapsam:ldap://127.0.0.1 passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* . syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 add machine script = /usr/sbin/smbldap-useradd -w "%u" logon script = logon.bat logon path = \\%N\profiles logon drive = H: logon home = \\%N\%U\data domain logons = Yes dns proxy = No wins support = Yes ldap admin dn = cn=admin,dc=ae,dc=local ldap group suffix = ou=groups ldap machine suffix = ou=machines ldap passwd sync = Yes ldap suffix = dc=ae,dc=local ldap user suffix = ou=users panic action = /usr/share/samba/panic-action %d [homes] comment = Home Directories path = /home/%S/data valid users = %S read only = No create mask = 0600 directory mask = 0700 browseable = No [netlogon] comment = Network Logon Service path = /data/samba/netlogon write list = @admins guest ok = Yes share modes = No [profiles] comment = Users profiles path = /home/%U/profiles read only = No create mask = 0600 directory mask = 0700 browseable = No [printers] comment = All Printers path = /var/spool/samba create mask = 0700 printable = Yes browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/printers I don't know if it helps, but the server and the client that can connect are both running wireless network cards, and the computer that cannot connect is not. Any ideas how I can solve this? Huyth.
Josh Kelley
2007-Jul-16 02:56 UTC
[Samba] DNS-error from one machine when trying to join domain
On 7/13/07, Huyth Jenssen <huyth515@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 is. Josh Kelley
Possibly Parallel Threads
- Access denied-message when joining domain
- new clients not joining to my domain
- DNS problem while trying to join windows 7 to samba3x pdc
- Need to join Windows server 2012 R2 as a client to Samba Domain in ubuntu 12.04
- Fwd: Not able to join windows 10 clients to samba 3.6.23 NT4 Style PDC