Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Craig McLean on August 27, 2001, 12:59:39 AM
-
Hello.
I'm trying to get some Windows 2000 Pro machines added to a domain I created on an e-smith 4.1.2 server. I've upgraded Samba using the instructions in Dan Brown's howto. However whenever I attempt to add a Win 2000 pro machin I get the following error.
"The account used is a computer account. User your global user account or local user account to access this server".
I used root and the password I set while following Dan Brown's instructions. I can't figure out what is going on though.
-
I also had this problem. i finally gave up. would be nice from a curiosity standpoint to know what was wrong........
-
Hello Graig,
I had the same problem with adding computers to a domain on E-smith.
My problem was that I made a type error in the script mentioned
by Dan Brown's howto (12adduserscript).
The command 'pico' places an '' between '-M' and '%u', and
makes it two lines in stead of one.
After correcting this problem everything went fine for me.
-
Craig,
Steve,
being that far I would recommend to try to create the machine account for that Win2k-PC manually with the following 2 commands (at a command prompt):
/sbin/e-smith/db accounts set pc-name machine Comment "Machine account"
/etc/e-smith/events/actions/machine-account-create machine-create pc-name
I am sure someone will find out why the PC-name/machine account creation doesn't work at the moment but the above should also get you going.
Regards,
Michael Doerner
-
How didyou correct this?
The command 'pico' places an '' between '-M' and '%u', and
makes it two lines in stead of one.
After correcting this problem everything went fine for me.
-
I used the vi command instead.
-
Hi, try this when logged in as root
useradd -c thenameofyourwin2kworkstation -M -s /bin/false -n thenameofyourwin2kworkstation$
Lets me add Win2k wstation with no problem once I have worked through Dan Browns samba upgrade
-
You also can add this RPM, which makes it very easy to add your NT/2K machine to the e-smith 'domain':
http://www.e-smith.org/contrib/rpm-index/RPM-e-smith-trustaccounts-0.1-1.noarch.html
Works like a charm! Of course you will still need to upgrade your version of Samba (per Dan's great documentation) - but using this e-smith manager module is great.
-
Thanks - I'd spent a couple hours on this problem before checking here.
Using vi did the trick.
-
I still can't get this thing to work
-
Just a silly question, but... did you log into the Win2K system as "Administrator"?
I beat my head against the wall for 2 hours trying to figure out why it wouldn't work after the Samba upgrade - the whole time, I was logged into the Win2K system as a user with admin priveleges, not the administrator account. Once I logged out and back into the Win2K system as "administrator", I was fondly rewarded with "Welcome to the XXXXXXX Domain" when I added the workstation to the domain.
Cheers!
Ari