Windows 7 unable to join Samba3x domain: "specified domain either does not exist or could not be contacted"
Posted by rbTech Staff, Last modified by rbTech Staff on 01 June 2014 08:48 PM

After following the steps on the Samba Wiki to prepare a Windows 7 workstation to join the Samba3x domain, I was running in to a persistent and well documented issue.  Upon entering the domain Administrator credentials, I would get the error "specified domain either does not exist or could not be contacted".

I ended up going through a working Samba config line by line and the magic line was:

dns proxy = yes

Adding that line to the non-working config immediately allowed the Win7 machine to successfully join and participate in a Samba3x domain.

Hopefully this saves someone the 3 hours I spent chasing ghosts to find it!



Here's another possibly related article that we wrote a while back, related to the apparent case sensitivity of the domain name when joining a Samba domain:

The commenter below asked where to put the config above and I realized I'd neglected to mention that the working config I'd compared to was a working smb.conf.  The above change would be applied to the samba server, and the samba services restarted after the change was made for it to take effect.  Good luck!

(1 vote(s))
Not helpful

Comments (2)
James Winkler
21 May 2014 08:34 AM
Rubin, I'm having the problem described above. In your fix you say to add the line to config in the Win7 machine. Where is the config located? Thanks for your help.
Rubin Bennett
01 June 2014 08:46 PM
Hi, James
First, I assume you've already applied the registry keys specified in this article:
Assuming that's true, then you need to add the above line to your /etc/samba/smb.conf (location may be different depending on your particular distribution) on your Samba server, and restart Samba.
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).