Hi all Im having this issue on a test PDC samba server. Tried to make a win2k machine a domain member, it asks the name and password to join the domain, then enter root and passwd... it takes about 1 or 2 minutes, then it says "welcome to tmq2", it seems ok, then restart to make changes take effect, BUT, just before having to press ctrl-alt-del, it appears an error message about a repeated machine name (dont have the exact message english, the spanish is "Existe un nombre duplicado en la red"), the fact is i cant start session but on the same machine. I double checked everything and i am stuck, help please. This is part of smb.conf: [global] workgroup = tmq2 server string = Server test bind interfaces only = Yes passdb backend = tdbsam security = user map to guest = Bad User username map = /etc/samba/user.map unix password sync = Yes passwd program = /usr/bin/passwd add machine script = /usr/sbin/useradd -c "Cuenta de equipo" -g machines -d /dev/null/ -s /bin/false %m$ add user script = /usr/sbin/useradd -c "Usuario NT" -g users -s /bin/false -m %u delete user script = /usr/sbin/userdel -r %u add group script = /usr/sbin/groupadd %g delete group script = /usr/sbin/groupdel %g add user to group script = /usr/sbin/usermod -G %g %u logon path = logon home = \\%N\%U logon drive = F: os level = 65 domain logons = Yes preferred master = Yes domain master = Yes local master = Yes wins server = 150.2.1.252 default service = homes # panic action = printer admin = @ntadmin, root, administrator veto files = *.mp3 Thanks in advance LeoR
I can not read spanish but it looks like it is saying something about a duplicate. Have you checked to be sure there is not another machine with a duplicate name? Bob LRivas@oxiquim.cl wrote:
Hi all
Im having this issue on a test PDC samba server. Tried to make a win2k machine a domain member, it asks the name and password to join the domain, then enter root and passwd... it takes about 1 or 2 minutes, then it says "welcome to tmq2", it seems ok, then restart to make changes take effect, BUT, just before having to press ctrl-alt-del, it appears an error message about a repeated machine name (dont have the exact message english, the spanish is "Existe un nombre duplicado en la red"), the fact is i cant start session but on the same machine. I double checked everything and i am stuck, help please. This is part of smb.conf:
[global] workgroup = tmq2 server string = Server test bind interfaces only = Yes passdb backend = tdbsam security = user map to guest = Bad User username map = /etc/samba/user.map unix password sync = Yes passwd program = /usr/bin/passwd add machine script = /usr/sbin/useradd -c "Cuenta de equipo" -g machines -d /dev/null/ -s /bin/false %m$ add user script = /usr/sbin/useradd -c "Usuario NT" -g users -s /bin/false -m %u delete user script = /usr/sbin/userdel -r %u add group script = /usr/sbin/groupadd %g delete group script = /usr/sbin/groupdel %g add user to group script = /usr/sbin/usermod -G %g %u
logon path = logon home = \\%N\%U logon drive = F: os level = 65 domain logons = Yes preferred master = Yes domain master = Yes local master = Yes wins server = 150.2.1.252 default service = homes # panic action = printer admin = @ntadmin, root, administrator veto files = *.mp3
Thanks in advance LeoR
LRivas@oxiquim.cl wrote:
Hi all
Im having this issue on a test PDC samba server. Tried to make a win2k machine a domain member, it asks the name and password to join the domain, then enter root and passwd... it takes about 1 or 2 minutes, then it says "welcome to tmq2", it seems ok, then restart to make changes take effect, BUT, just before having to press ctrl-alt-del, it appears an error message about a repeated machine name (dont have the exact message english, the spanish is "Existe un nombre duplicado en la red"), the fact is i cant start session but on the same machine. I double checked everything and i am stuck, help please. This is part of smb.conf: (...)
Being out of domain, check /etc/passwd and /etc/shadow and look for the machine account (its the machine name followed by a $ - like pepe$) - samba needs it and sometimes samba can't create by himself. Then check /etc/samba/smbpasswd and remove this account of the list (or just comment it with a #) - samba is able to create here, without problems. This account will be created when the machine enters the domain. This delay is normal; don't know why it happens (with winXP is almost instantaneous - but XP needs samba 3.x) you can also try to create these accounts by hand, but remember to use the same UID, right GID, etc. I think that the account name must be the same of the windows machine name - must be unique across your network Some people say you have to change something in the registry, but I don't remeber if I did that or not. Also I'm not sure, but I think win2k doesn't need samba 3.x. -- Marcos Lazarini
participants (3)
-
LRivas@oxiquim.cl
-
Marcos Lazarini
-
Robert A. Rawlinson