PDC 2.2.2 - W2K - Computer Password Incorrect.

Jeremy Cowgar jcowgar at bhsys.com
Mon Nov 12 07:56:02 GMT 2001


I am setting up a Samba PDC, v2.2.2. I followed the PDC HowTo and I am having a problem that is not listed in 
the HOWTO.

My W2K computer can join the domain just fine. A computer account get's added to both /etc/passwd and the 
smbpasswd files. My problem comes in when I try to log into the domain.

The message I recieve is:

The system cannot log you on to this domain because the system's computer account in it's primary domain is 
missing or the password on that account is incorrect.

Can anyone help me out?

Here's my config.Top of Form 1

# Samba config file created using SWAT
# from (
# Date: 2001/11/12 10:49:09

# Global parameters
	workgroup = G
	netbios name = JOEL
	encrypt passwords = Yes
	update encrypted = Yes
	add user script = /opt/samba/bin/adduser %m %u
	logon script = logon.cmd
	logon path = \\%N\profiles\%u
	logon drive = H:
	logon home = \\joel\%u
	domain logons = Yes
	os level = 64
	preferred master = True
	domain master = True

[Information Technologies]
	path = /tmp

	path = /tmp
	printable = Yes

	path = /opt/samba/lib/netlogon
	write list = ntadmin

	path = /opt/samba/lib/ntprofile
	read only = No
	create mask = 0600
	directory mask = 0700
Bottom of Form 1

the /opt/samba/adduser looks like:

echo "$1 $2" > /opt/samba/bin/hi.txt
useradd -g machines -d /dev/null -s /dev/null -c Computer $2

so effectively, the add user script commadn looks like:

useradd -g machines -d /dev/null -s /dev/null -c Computer %u

Can anyone help me out?


Jeremy Cowgar - jcowgar at bhsys.com

More information about the samba-ntdom mailing list