robert at ruegner.org
Thu Sep 2 09:17:31 GMT 2004
Hi Harald would you be so kind to let me see
giving qoutas is a nice feature
Best Regards Robert
Harald Kümmerle schrieb:
> On Wednesday 01 September 2004 23:37, rruegner wrote:
>>>Hi, it is the old nt admin tool
>>>to create users and groups from a windows client
>>>to admin a windows domain server.
> But to take full advantage of it, you have to set the parameters "add
> user script", "delete user script", "add user to group script" and so
> on. These are my settings:
> add user script = /etc/samba/smbuseradd.sh %u
> add machine script = /usr/sbin/useradd -g machines -c "Machine"
> -d /dev/null -s /bin/false %u
> delete user script = /etc/samba/smbuserdel.sh %u
> #delete user script = /usr/sbin/userdel %u
> add group script = /etc/samba/smbgroupadd.sh "%g"
> delete group script = /usr/sbin/groupdel "%g"
> add user to group script = /usr/bin/gpasswd -a "%u" "%g"
> delete user from group script = /usr/bin/gpasswd -d "%u" "%g"
> set primary group script = /usr/sbin/usermod -g "%g" "%u"
> My custom scripts create quota entries and the user directories beside
> the creation/deletion of the normal Unix user account.
More information about the samba