Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: markp on January 04, 2005, 01:57:24 PM

Title: Windows domain problem
Post by: markp on January 04, 2005, 01:57:24 PM
Greetings. I hope someone can help a Linux dunce! I have an SME box controlling a small domain of about a dozen workstations (XP-P & NT4). Over the Xmas break the SME box was upgraded with a bigger hard disk. This was done by creating the re-installation floppy & backing-up the data to a desktop. Following the installation & restoration of the data all looked OK - the XP boxes all claimed to be attatched to the domain, the NT not (but they are due to go anyway). However when pushed the workstations would not connect to resources: there appeared to be no authentication going on. Dropping a W/S off the domain worked OK, but attempting to re-attatch didn't. The W/S asked for credentials to create an account in the domain but came up with the message "user name not found" when given the admin logon.

I'm not sure whether this is an SME or WinXP problem, but it the same on all the workstations. Thanks in anticipation. Mark
Title: Windows domain problem
Post by: bigbri100 on January 04, 2005, 11:12:08 PM
Do the XP boxes already have the regedit installed?
/home/e-smith/files/server-resources/regedit

If so maybe this post can help:
http://forums.contribs.org/index.php?topic=25357.0
Title: Windows domain problem
Post by: arnoldob on January 05, 2005, 12:46:37 AM
First, look to see if you have a root smbuser. Look in /etc/smbpasswd.....you will see all your smbusers.
If root is shown, reset the root smbpasswd by typing smbpasswd at the command line (as root).

Now use root instead of admin on the XP clients.

If no root smbuser is shown, I do the following to add an smbuser:

smbpasswd -a root

then

smbpasswd -e root

You should now have a root user in /etc/smbpasswd

See this thread for further hints or search for 'samba join domain' in the forums.
http://forums.contribs.org/index.php?topic=23427.0

There's was a howto for leaving and joining the samba domain by dmay but it seems to have disappered from the howto list.

Good Luck,
Sonny Bertoncini
Title: Windows domian problem
Post by: markp on January 05, 2005, 10:28:55 AM
Thanks for the replies. Answers in order:
1. The registry tweak (I assume you mean the RequireSignOrSeal one?) has been done - all the Windows clients were on the domain OK before the HDD upgrade.
2. When the workstations were originally put on the domain the SME user 'admin' worked fine as the authorising credentials.
3. I've tried adding 'root' to Samba (guessing 'smbpasswd -a root' - I now see this was correct!!) and gave it the same password as 'admin' - but no joy. I can't remember the exact error reported by Windows as it tried to join the domain using root, but it was an "invalid user" type one. I'm back there later & will post exact message. I missed out the '-e' bit, so I will try that as well.

One day I really must get to grips with this Linux business!
Happy new year!