Hi All, I know this has been done to death on this forum, but I still can't get my Win 7 PCs to join a samba domain. I have edit the reg keys in HKLM \System\CCS\LanmanWorkStation\Parameters, DomainCompatibilityMode = 1 and DNSNameResolutionRequired = 0, but still no joy. I am running Samba 3.5.10 on CentOS 5.8 and below in my smb.conf file. ===========Begin===============[global] workgroup = DOMAIN netbios name = SERVER passdb backend = tdbsam printcap name = cups add user script = /usr/sbin/useradd -m %u delete user script = /usr/sbin/userdel -r %u add group script = /usr/sbin/groupadd %g delete group script = /usr/sbin/groupdel %g add user to group script = /usr/sbin/groupmod -A %u %g delete user from group script = /usr/sbin/groupmod -R %u %g add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody %u # Note: The following specifies the default logon script. # Per user logon scripts can be specified in the user account using pdbedit logon script = scripts\logon.bat # This sets the default profile path. Set per user paths with pdbedit logon path = \\%L\Profiles\%U logon drive = H: logon home = \\%L\%U domain logons = Yes os level = 35 preferred master = Yes domain master = Yes idmap uid = 15000-20000 idmap gid = 15000-20000 printing = cups ============End================ TIA Chris
On 16/03/12 23:27, Christopher M Bailey wrote:> Hi All, > > I know this has been done to death on this forum, but I still can't get > my Win 7 PCs to join a samba domain. I have edit the reg keys in HKLM > \System\CCS\LanmanWorkStation\Parameters, DomainCompatibilityMode = 1 > and DNSNameResolutionRequired = 0, but still no joy. I am running Samba > 3.5.10 on CentOS 5.8 and below in my smb.conf file. >Hi We know the feeling. The problems we have had have almost always been due to DNS errors. When we join a machine to the domain we always set it to use the same DNS as the DC and then only specify the primary DNS. I don't know about Samba3 but in Samba4, you can get a running log on the DC in interactive mode (e.g. samba -i -d3) which gets very excited during domain joins. There you can see the dns calls and IP's. I say almost because we use Spanish keyboards and the password we were giving included non alphanumeric characters which our British admin was touch typing. Of course you don't see the password as it is typed in. . . Moral: don't leave the obvious 'till last. Good luck, We made a step by step commentary of a windows 7 to Samba domain join with screen shots here: http://linuxcostablanca.blogspot.com.es/2012/02/windows-7-joins-samba-4-domain.html HTH, Steve