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 <[EMAIL PROTECTED]> 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
> 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to