Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Unable to join domain

18 Aug 2009   #21
Morphaniel

Windows 7 RTM 32-Bit
 
 

I too have this problem. My domain controller is Samba 3.3.4 on CentOS 5.3. I am using Win 7 RTM.

My Win 7 system is an in-place upgrade to Vista. The Vista machine was part of the domain but I detached it prior to the upgrade (been here before ).

Several registry mods are required for Win 7 to connect to Samba and I've done those.

The Win 7 machine can see the Samba DC because if I enter a fictitious domain it immediately complains about failing to find an AD with that name. Entering the correct domain name allows me to enter the admin credentials to join but then it fails.

The Samba logs show the Win 7 machine connecting at some low level (perhaps browsing when it boots) but there are no logs showing activity when I try to join the domain.

It's certainly possible that Win 7 RTM requires a Samba patch - most people on the 'net with similar problems are still using the RC..


My System SpecsSystem Spec
.
18 Aug 2009   #22
SquonkSC

Win7 Build 7600 x86
 
 

Quote   Quote: Originally Posted by Morphaniel View Post
I too have this problem. My domain controller is Samba 3.3.4 on CentOS 5.3. I am using Win 7 RTM.

My Win 7 system is an in-place upgrade to Vista. The Vista machine was part of the domain but I detached it prior to the upgrade (been here before ).

Several registry mods are required for Win 7 to connect to Samba and I've done those.

The Win 7 machine can see the Samba DC because if I enter a fictitious domain it immediately complains about failing to find an AD with that name. Entering the correct domain name allows me to enter the admin credentials to join but then it fails.

The Samba logs show the Win 7 machine connecting at some low level (perhaps browsing when it boots) but there are no logs showing activity when I try to join the domain.

It's certainly possible that Win 7 RTM requires a Samba patch - most people on the 'net with similar problems are still using the RC..
Could it be difference in encryption of passwords?

greetz
My System SpecsSystem Spec
18 Aug 2009   #23
NoDoze

Windows 7
 
 

Quote:
I too have this problem. My domain controller is Samba 3.3.4 on CentOS 5.3. I am using Win 7 RTM.

My Win 7 system is an in-place upgrade to Vista. The Vista machine was part of the domain but I detached it prior to the upgrade (been here before ).

Several registry mods are required for Win 7 to connect to Samba and I've done those.

The Win 7 machine can see the Samba DC because if I enter a fictitious domain it immediately complains about failing to find an AD with that name. Entering the correct domain name allows me to enter the admin credentials to join but then it fails.

The Samba logs show the Win 7 machine connecting at some low level (perhaps browsing when it boots) but there are no logs showing activity when I try to join the domain.

It's certainly possible that Win 7 RTM requires a Samba patch - most people on the 'net with similar problems are still using the RC..
This sounds EXACTLY like my case! I'm able to enter the credentials but then it fails. Only I'm not able to get ANY sign of activity in the samba logs.

What are the registry mods u speak of? Can you share?

@squonksc - The machine is not on the DC...yet...heh

@ - and yes, I am logging in as the domain admin...still fails. Dispite being able to login ok via an XP Pro PC, AND being able to login to the server ok via the workgroup.

Thanks!
My System SpecsSystem Spec
.

19 Aug 2009   #24
Morphaniel

Windows 7 RTM 32-Bit
 
 

The four registry mods are:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanWorkstation\Parameters]
“DomainCompatibilityMode”=dword:00000001
“DNSNameResolutionRequired”=dword:00000000


The above need to be added to allow the join to work. Then find the key below and set those values to 0.


[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Netlogon\Parameters]
“RequireSignOnSeal”=dword:00000000
“RequireStrongKey”=dword:00000000


This is definitely reported to work on many occasions across the 'net but doesn't for me. I may be being jinxed by having done an in-place upgrade and although I have a spare machine to try an install with, I haven't yet found the time.


Note that it is reported that you still get an error about the DNS suffix after these mods but the connection works - there is some Samba chatter about DNS suffixes but I only half understood it and since I haven't got that far yet, I didn't apply myself to it
My System SpecsSystem Spec
19 Aug 2009   #25
NoDoze

Windows 7
 
 

Uhmmmm....in...

Quote:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Netlogon\Parameters]
I have no:
Quote:
“DomainCompatibilityMode”=dword:00000001
“DNSNameResolutionRequired”=dword:00000000
or
Quote:
“RequireSignOnSeal”=dword:00000000
“RequireStrongKey”=dword:00000000
...or anything even close to it...

But I did have a Linkage/Route with this in it:
Quote:
"Smb" "Tcpip" "{738D6978-CD95-42E2-B3A4-181CFBBA4675}"
"Smb" "Tcpip" "{C40D26E9-E52C-4E5E-B008-3D40E6F26AF0}"
"Smb" "Tcpip6" "{AE370AD5-8723-4B9D-BD28-75C2C25E842C}"
"Smb" "Tcpip6" "{DD6C90D2-D944-4F87-A484-6653D1BD0C17}"
"Smb" "Tcpip6" "{EF8C4B7B-2F1F-4CB5-A59D-B86A61ACA864}"
"Smb" "Tcpip6" "{BD1CD30A-8763-45C0-B146-AA4B6C7A29A0}"
"Smb" "Tcpip6" "{738D6978-CD95-42E2-B3A4-181CFBBA4675}"
"Smb" "Tcpip6" "{C40D26E9-E52C-4E5E-B008-3D40E6F26AF0}"
"Tcpip" "{738D6978-CD95-42E2-B3A4-181CFBBA4675}"
"Tcpip" "{C40D26E9-E52C-4E5E-B008-3D40E6F26AF0}"
"Tcpip6" "{AE370AD5-8723-4B9D-BD28-75C2C25E842C}"
"Tcpip6" "{DD6C90D2-D944-4F87-A484-6653D1BD0C17}"
"Tcpip6" "{EF8C4B7B-2F1F-4CB5-A59D-B86A61ACA864}"
"Tcpip6" "{BD1CD30A-8763-45C0-B146-AA4B6C7A29A0}"
"Tcpip6" "{738D6978-CD95-42E2-B3A4-181CFBBA4675}"
"Tcpip6" "{C40D26E9-E52C-4E5E-B008-3D40E6F26AF0}"
"NetbiosSmb"
"NetBT" "Tcpip" "{738D6978-CD95-42E2-B3A4-181CFBBA4675}"
"NetBT" "Tcpip" "{C40D26E9-E52C-4E5E-B008-3D40E6F26AF0}"
"NetBT" "Tcpip6" "{AE370AD5-8723-4B9D-BD28-75C2C25E842C}"
"NetBT" "Tcpip6" "{DD6C90D2-D944-4F87-A484-6653D1BD0C17}"
"NetBT" "Tcpip6" "{EF8C4B7B-2F1F-4CB5-A59D-B86A61ACA864}"
"NetBT" "Tcpip6" "{BD1CD30A-8763-45C0-B146-AA4B6C7A29A0}"
"NetBT" "Tcpip6" "{738D6978-CD95-42E2-B3A4-181CFBBA4675}"
"NetBT" "Tcpip6" "{C40D26E9-E52C-4E5E-B008-3D40E6F26AF0}"
And all the smb stuff looks like samba stuff, maybe...? ...which looks suspicious...

I also was able to upgrade to rtm....but it made no difference...

...sigh
My System SpecsSystem Spec
20 Aug 2009   #26
Morphaniel

Windows 7 RTM 32-Bit
 
 

You won't have those values by default - you need to add them...
My System SpecsSystem Spec
20 Aug 2009   #27
NoDoze

Windows 7
 
 

Thanks Morphaniel IT WORKED!!

I was able to login to the domain ok, but after restarting the PC, and trying to login with the user account with the DC, I get a:

Quote:
the trust relationship between this workstation and the primary domain failed
I googled it, and it said it was an issue with a now corrupted machine entry for the machine on the DC...The suggestion was to log back into the workgroup, delete the machine, restart, change back over to the domain, restart, and I should then be able to login to the DC using the user from the DC....However, I get the response quoted above still.

I'm SOOOOO close now! LOL

Any ideas...?
My System SpecsSystem Spec
20 Aug 2009   #28
kegobeer

Windows 7 Ultimate x64 SP1
 
 

Quote   Quote: Originally Posted by NoDoze View Post
Thanks Morphaniel IT WORKED!!

I was able to login to the domain ok, but after restarting the PC, and trying to login with the user account with the DC, I get a:

I googled it, and it said it was an issue with a now corrupted machine entry for the machine on the DC...The suggestion was to log back into the workgroup, delete the machine, restart, change back over to the domain, restart, and I should then be able to login to the DC using the user from the DC....However, I get the response quoted above still.

I'm SOOOOO close now! LOL

Any ideas...?
Does Samba require any certificates on the client computers? If so, perhaps the certificate(s) aren't there or they're in the wrong store.
My System SpecsSystem Spec
20 Aug 2009   #29
NoDoze

Windows 7
 
 

I found this thread that provided some insight...

Windows 7 joining a Windows NT Server

However it ends with the issue remaining on a NT DC and Windows 7 RC build being the scenario...

I have yet to test this on a RTM version to see if the issue has been resolved with updated builds, as the thread above suggests.

Until then, any ideas? I'll keep searching....
My System SpecsSystem Spec
21 Aug 2009   #30
NoDoze

Windows 7
 
 

I'm running rtm now, still getting the same message:

Quote:
the trust relationship between this workstation and the primary domain failed
My System SpecsSystem Spec
Reply

 Unable to join domain




Thread Tools





Similar help and support threads
Thread Forum
Unable to join a Domain
I am running a windows server 2008 R2 server on a virtual machine (VM Ware) that is a domain controller running ADDS. I plan to connect my windows 7 Ultimate PC (which is installed on the Hard drive not on a virtual machine) to the W2K8 DC. I insist on doing this without the use of a router. The...
Virtualization
Cannot join domain
On an HP Windows 7 64-bit machine I get the error message "An Active Directory Domain Controller (AD DC) for the domain "ad.mackaysstores.co.uk" could not be contacted." This machine is set up the same as all the others on the network and has worked before so I don't know what's changed?
Network & Sharing
How to join a domain via VPN
We have a user who works remotely from home. I would like to add his machine to our domain (as we do in the office) so that he can log in and operate as if he was here. Can this be done easily? Any assistance would be greatly appreciated!
Network & Sharing
Windows 7 unable to Join 2003 Domain, offline Join erro
Hello to all, I have a Windows 7 Professional Version 6.1.7600 Build 7600 Every time I try to join the 2003 server Domain, I got the error attached in the post. Im not trying to do a offline joint, the W7 can ping the domain IP, and can resolve the domain name. I hope anyone can help me...
Network & Sharing
Win 7 can not join domain
Dear all i just buy a new notebook with win 7 pro, but i get a problem when to connect it into our domain (win 2003 service pack 2). I can ping another ip in network but i can not ping our DC, there are message request time out. So when i change the connection from control panel->system it's...
Network & Sharing
Cannot Join NT4 Domain
Hello all... I just installed build 7000 and I'm having issues connecting to my domain at work. I cannot setup my Outlook account either because my network exchange server is NT4 based. I have tried setting up my account via Outlook and via the "Mail" portion of Control Panel to no avail......
Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 15:44.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App