[Samba] WIn XP + Samba trouble

David Frey dpfrey at shaw.ca
Sat Apr 12 01:28:07 GMT 2003

I am trying to connect a windows xp client to a samba PDC.   The user
exists on the PDC and has an entry in the /etc/samba/smbpasswd file.  In
my smb.conf file, I have the following:

add user script = /usr/sbin/useradd -s /bin/false %u && /usr/bin/smbpasswd -a %u
add machine script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u && /usr/bin/smbpasswd -m -a %u

does that look right?

It seems to generate machine accounts in smbpasswd as well as passwd. 
The problem is when I try to add a domain user to the xp client, I get
the error:
The user could not be added because the following error has occurred:
The trust relationship between this workstation and the primary domain

I checked
and it is zero

Can anyone help me?  I'm going insane.
David Frey  -  UVic Computer Science Student
GnuPG key available at http://chubby.dyndns.org/david_frey.gpg      
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20030411/27f2ae66/attachment.bin

More information about the samba mailing list