[Samba] Profiles and home directory - Samba PDC

Nick Gale nick.gale at ntlworld.com
Tue Mar 4 10:55:28 GMT 2003

I have sucessfully got a windows 2K machine to join the domain but I can not
get it to run a logon script, map the drive letter to the home directory or
create a roaming profile. All my smb.conf setting look correct as per the
samples and How To's so I'm stuck!

smb.conf is as follows:

# Global parameters
	workgroup = LINUX
	netbios name = LINUX1
	server string = Samba Server
	encrypt passwords = Yes
	obey pam restrictions = Yes
	pam password change = Yes
	passwd program = /usr/bin/passwd %u
	passwd chat = *New*password* %n\n *Retype*new*password* %n\n
	unix password sync = Yes
	admin log = Yes
	log level = 3
	log file = /var/log/samba/%m.log
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	domain admin group = @administrator root
	add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
	logon script = logon.bat
	logon path = \\Lunux1\profiles\%U
	logon drive = F:
	domain logons = Yes
	os level = 99
	preferred master = Yes
	domain master = Yes
	dns proxy = No
	wins support = Yes
	admin users = @administrator root
	printing = cups
	default devmode = Yes

	comment = Home Directories
	valid users = %S
	read only = No
	create mask = 0664
	directory mask = 0775
	browseable = No

	comment = All Printers
	path = /var/spool/samba
	guest ok = Yes
	printable = Yes
	use client driver = Yes
	browseable = No

	path = /home/netlogon
	valid users = @users
	admin users = @administrator, root
	read only = No
	guest ok = Yes

	path = /home/profiles
	valid users = @users
	read only = No
	create mask = 0600
	directory security mask = 0700
	guest ok = Yes
	profile acls = Yes
	csc policy = disable

Any help you can give me would much appreciated!


Nick Gale

More information about the samba mailing list