[Samba] On the fly Machine accounts
Paul Gienger
pgienger at ae-solutions.com
Fri Aug 26 16:07:26 GMT 2005
> 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.
More information about the samba
mailing list