I found some info on Google searches to get WindowsÂ 7 to join a Samba domain controller.Â I have Ubuntu 9.04 Jaunty which runs Samba 3.3.2, whichÂ I guess does not work.Â You need 3.3.4.Â Â Windows 7 needs a registry change:
The above need to be added to allow the join to work.Â Then find the key below and set those values to 0.
The Netlogon values need to be updated, or Windows 7 will not allow domain logons.Â You’ll get an error about credentials and no domain controller, or something like it.Â Adding the second two will allow the logon.
Adding the registry keys above, plus upgrading Samba, did the trick.Â I was able to join Windows 7 to Samba 3.3.4, but I didÂ get a weird error about the DNS suffix being wrong.Â I just said OK and left it.Â I tried to change it several times after, too, but always get the same error.Â System working fine so far though!
As for upgrading Samba, you’ll have to Google that one.Â But here’s what I did, in a nutshell. (This is NOT a HOWTO, just a record of my experience, so if you follow this, it might break your system. Just be warned. Â A Samba Server book might be nice for more information.)Â I had a working domain controller, so I had a SAM database already with SID’s and passwords.Â I didn’t want to lose those.Â After backing up my server and Samba configs (including all the tdb files) I removed Samba 3.3.2 package from Ubuntu.Â Then I downloaded the Samba source tar.gz for version 3.3.4, unpacked and “./configure” and then compiled. (make && make install)
At this point I found all my tdb files and copied them into the default Samba installation, which was different than the Ubuntu package.Â I think theÂ original tdb files from Ubuntu are in /var/lib/samba.Â I copied all that to /usr/local/samba/var/lock.Â (the default when compiling from source) Â I also setup a link from the original smb.conf in /etc/samba to /usr/local/samba/lib/smb.conf.
Now I’ve got my Windows 7 system logged in and joined to my Samba domain!