Windows 7 can see Samba Shares but cannot see Samba Domain
Hello,After searching for a while maybe somebody has an idea how to resolve this:Symtoms:Windows 7 can see Samba Public Shares (but only if access them through Start->Run->\\MyServer\MyPath)Windows 7 cannot see the Samba PDCWindows XP can see the Samba PDCPing to Server works--> Of course I would like to join Windows 7 to my Samba PDC - however, Windows does not even show or find the Domain.What I tried without success:- Deactivating both Firewalls (Server & Client)- Activated "Computer Browser" Service on Windows 7Any ideas why my Windows 7 does not see the Samba PDC?Thx in advance & Cheers!
September 19th, 2009 5:50pm

Try samba 3.3.4, and make the following edits to the Win 7 registry: HKLM\System\CCS\Services\LanmanWorkstation\Parameters DWORD DomainCompatibilityMode = 1 DWORD DNSNameResolutionRequired = 0 HKLM\System\CCS\Services\Netlogon\Parameters DWORD RequireSignOnSeal = 0 DWORD RequireStrongKey = 0Drew Vonada-Smith
Free Windows Admin Tool Kit Click here and download it now
September 21st, 2009 8:59pm

Hey Drew,Thank you very much for hints with these keys - this seems to have resolved half of the issue:Now during the join processes, the machine account is created on the PDC LDAP, however, Windows does not find it anymore after it has been created.This only happens with my Windows 7. Windows XP still works fine with the join process, etc.Could this be a version problem of Samba? You mentioned samba version 3.3.4 - there are a couple of nice fixes, but I could not find anything specific to Windows 7..... what's your point of view?Last Quick question about one of the registry key:Is it:DWORD RequireSignOnSeal = 0Or:DWORD RequireSignOrSeal = 0Cheers and thank you very muchf for helping me out here ;)
September 21st, 2009 11:26pm

Hi,After a couple of days of trying here the results that resolved all my issues:1) As indicated by Drew, the following Registry Keys resolved one part of the issue:Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanWorkstation\Parameters] ; Enable NT-Domain compatibility mode ; Default: ; [value not present] ; "DomainCompatibilityMode"=- "DomainCompatibilityMode"=dword:00000001 ; Disable required DNS name resolution ; Default: ; [value not present] ; "DNSNameResolutionRequired"=- "DNSNameResolutionRequired"=dword:00000000 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Netlogon\Parameters] ; Disable requirement of signed communication ; My Samba (3.0.33) works with signed communication enabled, so no need to disable it. ; Default: ; "RequireSignOrSeal"=dword:00000001 ; Disable the usage of strong keys ; Default: ; "RequireStrongKey"=dword:00000001 "RequireStrongKey"=dword:00000000 I found more details about this on the following discussion, which was also very helpful:http://www.nabble.com/Windows-7-RC-td23405949.html2) I actually needed to update to the newer Samba version (3.3.4) to resolve the issue, where Windows cannot establish a trust relationship with the domain controller.3) This only other issue I had after updating was that Samba tried to establish a TLS connection to the LDAP Server (which in my case is running on the same machine). Since I do not use TLS, this failed of course. Issue was resolved by adding "ldap ssl = No" to the smb.conf file on the samba server.Cheers!
Free Windows Admin Tool Kit Click here and download it now
September 24th, 2009 9:29pm

Hi,I am running fedora 12 with samba 3.4.2-47.My PDC is working perfectly with Windows XP and Vista but I am having similar problems with Windows 7.After adding the additional registry keys I was able to add to the machine to the domain.But I cannot add domain users as local administrators - I get the 'trust relationship' error.Any ideas?Thanks
December 19th, 2009 5:04pm

Hi, I am running SLES10 with samba and LDAP. My PDC is working perfectly with Windows 2000 and Windows XP, but I am having similar problems with Windows 7. After adding the additional registry keys I was able to add to the machine to the domain. But I cannot log on as a domain user - I get the 'trust relationship' error. Any ideas? Thanks Firak
Free Windows Admin Tool Kit Click here and download it now
March 8th, 2010 5:30pm

Firak, First have you found a solution to your problem? If so I would like to know because I had a similar issue on our development network. If I understand you correctly if your Winders 7 machine logs in first no issues, but if an older OS's logs in then Windows 7 will not correct? Also what version of Samba are you running on that machine?
March 19th, 2010 12:35am

I am also having same problem not able to add to machine as domain user not able login as a domain user Error message: "Trust Relationship Between Workstation and Domain Fails". Samba 3.4 Version Thanks KiranopatilKiran O Patil
Free Windows Admin Tool Kit Click here and download it now
February 28th, 2011 6:48am

This is courtesy of another thread, however, this did resolve our issue with windows 7 & Vista accessing SAMBA shares, specfically when the client machines were NOT part of the same domain as the SAMBA server, or the autheticating domain controllers: Control Panel - Administrative Tools - Local Security Policy Local Policies - Security Options Network security: LAN Manager authentication level Send LM & NTLM responses
June 29th, 2011 6:28pm

I also get the "Trust Relationship Between Workstation and primary Domain Fails". whenever I try to login win7 I have a samba 3.4.7 under ubuntu Was able to make the workstation join but I cannot make a user login to domain and I cannot add a domain user to the local machine. any ideas for this yet?
Free Windows Admin Tool Kit Click here and download it now
August 24th, 2011 12:53am

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

Other recent topics Other recent topics