Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Samba PDC and WinXP problems

Status
Not open for further replies.

Monsores

Technical User
Mar 4, 2002
39
BR
Hi.
I have a small network with 5 Win98SE workstations and a Samba 2.2.8 PDC. Everything works fine.
But now I'm having problems to add a WinXP Pro workstation to this network. I read threads about XP and Samba in this forum, the IBM "Samba as a PDC guide" and many others found in Altavista, but couldn't solve the problem.
The workstation name is MAURICIO. I added a username (useradd -d /dev/null -m -s /bin/false mauricio$ and smbpasswd -a -m mauricio). I changed WinXP registry (requiresignorseal), the Control Panel Settings and my smb.conf (many times...), but didn't succeed.
The following is happening: when i change the Domain name in the workstation to TAIL, it asks me for the Samba admin password. It accepts the user/passwd and tells me "Welcome to the Domain". But when I restart the machine it tells me that there isn't a PDC running.
Also if in the Control Panel I try to add a user from the Domain to the workstation it tells me that the user can't be added due to a trust problem between the workstation and the server.
The Win98 workstations are working perfectly with the PDC.
Can anyone help me?

My smbpasswd is the following:
root:0:E3E190434B20323E0669279FFF44BF90:81A8FC916878D05C25D0074E887FEA01:[UX ]:LCT-3EE8E97D:
mauricio$:501:541200DB02CB5685E68AA26A841A86FA:814C0C292BCE2FD42E7FEA8F6A4C562C:[W ]:LCT-3EE8EDC4:

My smb.conf is the following:
[global]
workgroup = TAIL
netbios name = SERVIDOR
server string = Servidor de Dados - Samba Server %v
os level = 64
preferred master = yes
domain master = yes
local master = yes
security = user
add user script = /usr/sbin/useradd -d /dev/null -g workstations -s /bin/false -M %u
encrypt passwords = yes
domain logons = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Nova*Senha* %n\n *Redigite*a*Nova*Senha* %n\n *Senha*atualizada*com*sucesso!*
unix password sync = Yes
smb passwd file = /etc/samba/smbpasswd
logon drive = H:
logon home = \\%N\%u
log level = 1
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printing = cups

[netlogon]
comment = Servicos de Login
path = /home/netlogon
admin users = marcelo
write list = marcelo
guest ok = Yes

[homes]
comment = Diretorios Home
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No




Thanks,
Marcelo
 
Try setting your samba server as a wins server and pointing the xp to the samba server as a wins server.

Doug
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top