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.rpm2. 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.