My Computer Name is: PC1
Running Windows 2000 Pro English
And I want to login as "pbrossin" on a PDC.
OK So Here is what I just did :
1. I Installed E-Smith. So no user, no password are set ! nothing.. it's a clean system
2. [root@e-smith /]# mkdir temp
3. [root@e-smith /]# cd temp
4. [root@e-smith /temp]# rpm -q samba
samba-2.0.7-21ssl
(For information...)
5. wget
ftp://us6.samba.org/pub/samba/Binary_Packages/redhat/RPMS/7.1/samba-2.2.1a-20010713.i386.rpm6. [root@e-smith /temp]# cp /etc/smbpasswd /etc/smbpasswd.old
7. [root@e-smith /temp]# rpm -e --nodeps samba samba-client samba-common
cannot remove /var/lock/samba - directory not empty
removal of /etc/samba/smbusers failed: No such file or directory
8. [root@e-smith /temp]# rpm -q samba
package samba is not installed
9. [root@e-smith /temp]# rpm -Uvh samba-2.2.1a-20010713.i386.rpm
(a lot of) group abartlet does not exist - using root
user abartlet does not exist - using root
samba #############################################
Looking for old /etc/smb.conf...
Bla bla bla
Bla bla bla
inetd: no process killed
Installing stack version of /etc/pam.d/samba...
10. [root@e-smith /temp]# rpm -q samba
samba-2.2.1a-20010713
11. [root@e-smith /temp]# cd /etc/samba
11. [root@e-smith samba]# mv * ..
11. [root@e-smith samba]# ln -s ../smbpasswd smbpasswd
11. [root@e-smith samba]# ln -s ../smb.conf smb.conf
11. [root@e-smith samba]# ln -s ../MACHINE.SID MACHINE.SID
11. [root@e-smith samba]# ln -s ../smbusers smbusers
11. [root@e-smith samba]# ln -s ../lmhosts lmhosts
12. [root@e-smith samba]# pico smbusers
(The file is empty... should I do something ?)
13. [root@e-smith samba]# smbpasswd -add root
Added user root.
14. [root@e-smith samba]# smbpasswd root
New SMB password:test
Retype new SMB password:test
Password changed for user root. User has disabled flag set.
15. [root@e-smith samba]# smbpasswd -e root
Enabled user root.
16. [root@e-smith samba]# mkdir -p /etc/e-smith/templates-custom/etc/smb.conf
17. [root@e-smith samba]# pico /etc/e-smith/templates-custom/etc/smb.conf/12adduserscript
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
(I just wrote that string in the file 12adduserscript and then exit & save)
18. [root@e-smith samba]# /sbin/e-smith/expand-template /etc/smb.conf
19. [root@e-smith samba]# /etc/rc.d/rc7.d/S91smb restart
Restarting SMB services: Shutting down SMB services: [FAILED]
Starting SMB services: [ OK ]
done.
20. Ok FAILED... So Reboot the server...
[root@e-smith /temp]# Reboot
21. Right-click on "My Computer", and select "Properties". Click on the Network Identification tab, and click the Properties button. Set the radio button at the bottom of the window to "Domain", and enter "E-Smith". Then it asks me for a username and password. I put : root & test (like I show you below)
And I get:
The following error occured attempting to join the domain "E-Smith":
The credentials supplied conflict with an existing set of credentials.
Thanx for helping !