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
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@unisys.com> 2/10/2006 12:11:10PM >>> 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
[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\%SI think I chopped a piece off, so I am sending again. David Shapiro Unix Team Lead 919-765-2011>>> "Trimble, Ronald D" <Ronald.Trimble@unisys.com> 2/10/2006 12:11:10PM >>> 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