PDC 2.2.2 - W2K - Computer Password Incorrect.

Greg Wardawy gwardawy at iddmedia.com
Mon Nov 12 09:56:03 GMT 2001


>>> Jeremy Cowgar <jcowgar at bhsys.com> 11/12/01 09:46AM >>>
Greetings!

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 192.168.0.40 (192.168.0.40)
# Date: 2001/11/12 10:49:09

# Global parameters
[global]
	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

[IT_4000]
	path = /tmp
	printable = Yes

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

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

the /opt/samba/adduser looks like:

#!/bin/sh
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

#########################################
Shouldn't it be:
-s /bin/false ?
i.e. add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u

HTH
Greg
#########################################

Can anyone help me out?

Thanks!

Jeremy Cowgar - jcowgar at bhsys.com 







More information about the samba-ntdom mailing list