> I have added both of these to my smb.conf
> 
>  add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M
> %u
>  add machine script = /usr/sbin/useradd -d /dev/null -g 102 -s /bin/false
> Neither of these seems to do anything.

So here you're running useradd without giving the username to add as the
required argument to useradd.  Try putting a %u on the end of there and see
if you get closer.  You may also want to surround your variables with single
quotes.
 
> Anyone actually using samba in a production enviroment?
Many people on this list.



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

Reply via email to