[Samba] Re: Automatic Folder Creation

Tom Schaefer schaefert at tomcat.umsl.edu
Thu Feb 26 20:07:35 GMT 2004


I think what you are looking for is the "root preexec" directive.  Its explained in the smb.conf man page.


On Wed, 18 Feb 2004 11:13:23 -0800
Norman Zhang <norman.zhang at rd.arkonnetworks.com> wrote:

> 
> I checked useradd only creates home folders but not others. I could 
> write a bash script
> 
> SHARED=/sharepartition/$1
> md $SHARED
> chmod 777 $SHARED
> chown $1.$1 $SHARED
> 
> But how can I link this with the uid connecting to Samba?
> 
> Regards,
> Norman
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 


More information about the samba mailing list