[Samba] Autocreate user home directories.

David Shapiro David.Shapiro at bcbsnc.com
Sat Feb 11 01:54:41 GMT 2006


homes]
	root preexec = [ ! -e /home/%U ] && { /bin/cp -a /etc/skel
/home/%U; /bin/chown -R %U."%G" /home/%U; }
	create mask = 0600
	directory mask = 0700
	read only = no
	valid users = EXAMPLE\%S

 
David Shapiro
Unix Team Lead
919-765-2011

>>> "Trimble, Ronald D" <Ronald.Trimble at unisys.com> 2/10/2006 12:11:10
PM >>>

I am trying to set up our samba server to automatically create a users
home directory when they browse to it from a Windows computer.  Is
there
a way to do this?  I was looking at the root preexec option to try and
do this, but I am not sure how to go about it.  Has anybody done this?
Can someone please help me out?



Thanks,

Ron



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list