On Mon, 16 Feb 2004, Norman Zhang wrote:Samba creates home folders automatically for new users that connects to it. Is there a way to get Samba to create a "username" folder in another parition with 777 permission (similiar to home)?
e.g.,
/home/My Domain/nzhang (default creation)
/sharepartition/nzhang (wish to have)
Check /etc/defaults/useradd
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