Windows 7 Pro unable to join Samba 3.3.7 domain; doesn't exist or could not contacted...
I'm running a Linux server with Samba 3.3.7. It is configured as a domain controller. I have a Windows 7 Pro laptop which I'm having trouble adding to the Samba domain. I've made all the required Windows registry changes (which are well doucumented and discussed on this site). Below is my smb.conf file. I realize this is not a Samba group but I'm hoping that maybe something might jump out to someone about my configuration that maybe be wrong. When I do attempt to register into the domain I receive the error message that my laptop could not "join the domain because the domain either doen't exist or could not be contacted". The strange thing is that I can see and access the shares on the Linux server when I got into the Windows Explorer (file manager). I can even map drives from the Linux shares using \\domain-name\share-name. Is the above method the same as joining the domain? Does Windows 7 Pro have an NT/2000/XP-Pro style login screen? #### Samba config file #### [global] workgroup = LANSYS server string = Samba 3.3.7 PDC netbios name = LNX01 security = user log file = /var/log/samba/%m.log max log size = 50 os level = 65 preferred master = yes local master = yes domain master = yes domain logons = yes encrypt passwords = yes wins support = yes dns proxy = No hosts allow = 192.168.0., 127. passdb backend = smbpasswd:/usr/local/samba/private/smbpasswd smb passwd file = /usr/local/samba/private/smbpasswd logon path = \\%L\Profiles\%U logon home = \\%L\%U logon drive = H: logon script = dummy.bat [homes] browseable = no writeable = yes create mask = 644 directory mask = 755 [temp] comment = Temp Directory path = /tmp writeable = yes guest ok = yes [netlogon] path = /home/samba/netlogon guest ok = yes writeable = no [profiles] path = /home/samba/profiles read only = no create mask = 0600 directory mask = 0700
December 1st, 2010 8:11pm

Update. I hope someone can shed some light on this issue. Below is output from NetSetup.LOG when I attempt to join the domain. The lines in bold appear to be the issues but I'm not sure how to resolve them. 12/02/2010 09:01:54:698 NetpDoDomainJoin 12/02/2010 09:01:54:698 NetpMachineValidToJoin: 'LANPC1' 12/02/2010 09:01:54:698 OS Version: 6.1 12/02/2010 09:01:54:698 Build number: 7600 (7600.win7_gdr.100618-1621) 12/02/2010 09:01:54:702 SKU: Windows 7 Professional 12/02/2010 09:01:54:702 NetpDomainJoinLicensingCheck: ulLicenseValue=1, Status: 0x0 12/02/2010 09:01:54:702 NetpGetLsaPrimaryDomain: status: 0x0 12/02/2010 09:01:54:702 NetpMachineValidToJoin: status: 0x0 12/02/2010 09:01:54:702 NetpJoinDomain 12/02/2010 09:01:54:702 Machine: LANPC1 12/02/2010 09:01:54:702 Domain: LANSYS 12/02/2010 09:01:54:702 MachineAccountOU: (NULL) 12/02/2010 09:01:54:702 Account: LANSYS\kevin 12/02/2010 09:01:54:702 Options: 0x25 12/02/2010 09:01:54:702 NetpLoadParameters: loading registry parameters... 12/02/2010 09:01:54:702 NetpLoadParameters: DNSNameResolutionRequired not found, defaulting to '1' 0x2 12/02/2010 09:01:54:702 NetpLoadParameters: status: DomainCompatibilityMode set to '1' 12/02/2010 09:01:54:702 NetpLoadParameters: status: 0x0 12/02/2010 09:01:54:702 NetpValidateName: checking to see if 'LANSYS' is valid as type 3 name 12/02/2010 09:01:54:804 NetpCheckDomainNameIsValid [ Exists ] for 'LANSYS' returned 0x0 12/02/2010 09:01:54:804 NetpValidateName: name 'LANSYS' is valid for type 3 12/02/2010 09:01:54:804 NetpDsGetDcName: trying to find DC in domain 'LANSYS', flags: 0x40001020 12/02/2010 09:02:02:312 NetpDsGetDcName: failed to find a DC in the specified domain: 0x54b, last error is 0x0 12/02/2010 09:02:02:312 NetpJoinDomainOnDs: NetpDsGetDcName returned: 0x54b 12/02/2010 09:02:02:312 NetpJoinDomainOnDs: Function exits with status of: 0x54b 12/02/2010 09:02:02:312 NetpDoDomainJoin: status: 0x54b
Free Windows Admin Tool Kit Click here and download it now
December 2nd, 2010 9:14am

If the NetLogon service isn't running, will I be able to make the domain connection to the Samba domain controller?
December 2nd, 2010 3:17pm

Hi, You could try the following method to check how it works: Go to Control Panel - Administrative Tools - Local Security Policy -Local Policies - Security Options Network security: · LAN Manager authentication level: Send LM & NTLM responses · Minimum session security for NTLM SSP: Uncheck Require 128-bit encryption Meanwhile, considering this issue is also related to a Linux server and we have limited resources to help, it is also recommended that you contact the Support of the Linux server for help. Hope it helps. Alex ZhaoPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
December 5th, 2010 11:43pm

Thanks Alex for your reply. Yes I did try those options without success though. You're right, it appears to be a combined Linux/Samba issue. A couple of days ago I was able to successfully attach my Windows 7 Pro laptop to the domain at my workplace which ives me a warm fuzzy that its not my laptop with the problem. Looks like Samba has some wotk to do. I've pretty much given up on this issue. Just a little more complicated than I anticipated. Moving on. :-(
December 6th, 2010 8:32pm

These links might be helpfull: http://wiki.samba.org/index.php/Windows7 https://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=27098&forum=37
Free Windows Admin Tool Kit Click here and download it now
January 21st, 2011 4:07pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics