pkariuki@strathmore.ac.ke
2006-Sep-06 11:36 UTC
[Samba] Unable to locate Domain Controller
Hello, Ive installed Samba 3 ... however, when I try to add a machine to the domain I get the error that the domain controller cannot be contacted... I am able to login through \\server\folder... however, when I try to add the same machine to the domain, I get an error saying the domain controller cannot be contacted on the windows machine ..(winxp...)... Any ideas?
Would you please post a copy of your smb.conf? pkariuki@strathmore.ac.ke wrote:> Hello, > Ive installed Samba 3 ... however, when I try to add a machine to the > domain I get the error that the domain controller cannot be contacted... I > am able to login through \\server\folder... however, when I try to add the > same machine to the domain, I get an error saying the domain controller > cannot be contacted on the windows machine ..(winxp...)... Any ideas? >
pkariuki@strathmore.ac.ke wrote:> Hello, > Ive installed Samba 3 ... however, when I try to add a machine to the domain I > get the error that the domain controller cannot be contacted... I am able to > login through \\server\folder... however, when I try to add the same machine to > the domain, I get an error saying the domain controller cannot be contacted on > the windows machine ..(winxp...)... Any ideas? >There's a few things besides having the proper settings in your smb.conf 1. If the workstation is currently in a workgroup for the domain you wish to join, you need to take it out of that workgroup. The current work group cannot match the domain you wish to join. 2. You cannot have any mounts or even browsed connections to the domain controller in order to join the workstation to the domain. To correct this, open up the windows command prompt and type in the following case sensitive command: net use * /D This will disconnect ALL connections from the workstation to the domain controller. If you smb.conf file is configured properly, try the above and see if that corrects the issue. Regards, Rob
> he clients are Windows 2000, Windows XP service pack 1 and Windows XP service > pack 2... However, the problem started when I upgraded to the latest samba > edition....please open your smbpasswd file (/etc/samba/smbpasswd) and edit the name of the machine you have added to change case from all capitals to lowercase. If you now go back and reboot the windows PC you will find it has joined the domain! This suggestion was made on the list a couple of weeks ago and I find it works very well for me. For some reason from 3.022 on at the time of joining, the name gets set as all caps. regards Dilip