[Samba] Can't join Samba PDC from Win2k

Brian Lavender brian at brie.com
Sun May 19 15:51:02 GMT 2002

I am trying to make my Samba server act as a domain controller, but I
can't join the domain. When I go into Windows 2k and I right click the
computer, the properties button, and try to make it a part of the domain,
it asks me for a user account, and a password. I am not sure what user
account to type in here. What user account do I type in?

Below is my smb.conf file. I followed the howto from 


and you can see where I put the adduser in my global configuration so
a machine is added automatically.

# from linux.local (
# Date: 2002/05/18 21:55:34

# Global parameters
	netbios name = DASERVER
	workgroup = CHEDDAR
	map to guest = Bad User
	character set = ISO8859-15

	os level = 64
	preferred master = yes
	domain master = yes
	local master = yes

	security = user

	encrypt passwords = Yes

	domain logons = yes

	logon path = \\%N\profiles\%u
	logon drive = H:
	logon home = "\\%N\%U"

	logon script = logon.cmd

	printing = lprng
	veto files = /*.eml/*.nws/riched20.dll/*.{*}/

	add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u 

	comment = Home Directories
	read only = No
	create mask = 0640
	directory mask = 0750
	browseable = No

	comment = All Printers
	path = /var/tmp
	create mask = 0600
	printable = Yes
	browseable = No

	comment = NETLOGON service
	path = /home/netlogon
	read only = yes
	write list = ntadmin

	path = /home/profiles
	read only = no
	create mask = 0600
	directory mask = 0700

Brian Lavender

More information about the samba mailing list