[Samba] trust relationship between XP(workstation) and the Primary domian (Samba PDC) failed

David Sexton dsexton_1 at charter.net
Wed Jan 29 13:47:08 GMT 2003

Hi you all I have a qustion.  I have samba no so that it 
will allow me to add clients to the domain how ever I can 
not add users on XP PRO I get the follwing error

The user could not be added becuse the following error has 

The turst relationship between this workstation and the 
primary domain failed

any one have a idea?  below is my samba config


# Samba config file created using SWAT
# from (
# Date: 2003/01/28 22:11:51

# Global parameters
	workgroup = HASMDK
	netbios name = HAS1
	server string = Samba PDC Running %v
	encrypt passwords = Yes
	null passwords = Yes
	obey pam restrictions = Yes
	username map = /etc/samba/user.map
	log file = /var/log/samba/log.%m
	max log size = 50
	name resolve order = wins lmhosts bcast
	socket options = TCP_NODELAY SO_RCVBUF=8192 
	add user script = /usr/sbin/useradd -s /bin/false %u
	logon script = %U.bat
	logon path = \\%L\Profiles\%U
	logon home = \\%L\%U\.profile
	domain logons = Yes
	os level = 99
	preferred master = Yes
	domain master = Yes
	dns proxy = No
	wins support = Yes
	default service = netlogon
	winbind uid = 10000-20000

	comment = Home Directories
	read only = No

	comment = Network Logon Service
	path = /var/lib/samba/profiles
	read only = No
	guest ok = Yes
	browseable = No
	root preexec = /usr/bin/ntlogon -u %U -g %G -o %a -d 
	root postexec = rm -f /var/lib/samba/netlogon/%U.bat

	comment = All Printers
	path = /var/spool/samba
	create mask = 0700
	guest ok = Yes
	printable = Yes
	print command = lpr-cups -P %p -o raw %s -r   # using 
client side printer drivers.
	browseable = No

	path = /var/lib/samba/printers
	write list = @adm root

	comment = PDF Generator (only valid users)
	path = /var/tmp
	guest ok = Yes
	printable = Yes
	print command = /usr/share/samba/scripts/print-pdf %s ~%u 
\\\\\\\\%L\\\\%u %m %I &

	path = /home/public
	read only = No
	create mask = 0777
	guest ok = Yes

More information about the samba mailing list