Koozali.org: home of the SME Server

HAS ANYONE A WORKING WIN2K DOMAINLOGON?

Engelmann Florian

HAS ANYONE A WORKING WIN2K DOMAINLOGON?
« on: July 11, 2001, 02:43:13 PM »
Hi,
i tried nearly everything to get my win2k machines (no sp, sp1and sp2) connected to my e-smith 4.1.2 server - no success.
i am always prompted to enter a user an password with the rights to connect to the domain?!

CAN ANYONE TELL ME HIS STORY OF SUCCESS?

Lloyd Keen

Re: HAS ANYONE A WORKING WIN2K DOMAINLOGON?
« Reply #1 on: July 11, 2001, 07:33:10 PM »
I've been mucking around with it the last couple of days with no luck. Is the domain supposed to be e-smith.mydomain.com or just mydomain.com? I've followed the commands in the HOWTO but still can't get it to work.

Robert Heaton

Re: HAS ANYONE A WORKING WIN2K DOMAINLOGON?
« Reply #2 on: July 12, 2001, 05:51:36 PM »
The domain that windows wants, is actually the "workgroup" that e-smith belongs to.

You will have to upgrade samba to at LEAST 2.2.0 here's the how to i used, and i had no problems;

1.Download Samba 2.20

http://se.samba.org/samba/ftp/Binary_Packages/redhat/RPMS/7.0/samba-2.2.0-20010417.i386.rpm

2. Make a backup of the file /etc/smbpasswd

3. Install the new version by running"rpm -i --force samba-2.2.0-20010417.i386.rpm"

4. Delete the file /etc/smbpasswd and restore it with the backup you made earlier.

5. Reboot the system

6.Create a UNIX user account for the win2k machine account " useradd -c 'win2k workstation' -M -s /bin/false -n workstationname$"

7. You must then activate the "root" account;

Add root to the smbpasswd file:
"smbpasswd -add root"
Changing root password in smbpasswd:
"smbpasswd root"
Enable the user root account:
"smbpasswd -e root"

8. On the win2k client logon as the Administrator, right click the My Computer Icon and select properties from the popup menu, select the Network Identifications tab and click the properties button and change the settings to join your domain.
After a while you will be asked to enter a name and a password of a user with permissions to join the domain, use the root account we activated earlier. (Remembering the domain name is the "workgroup" to which your e-smith server belongs.

9.Thats It! The sweet "WELCOME TO THE YOURDOMAN DOMAIN" message should appear if everything wen't your way.

Note! This is not a professional way of doing things, but I had nothing to lose when I decided to brutally --force the new samba version into e-smith. I suggest that you do this in a test enviorment where you have absolutely nothing to lose.


Any problems let me know,
Rob Heaton.