automating creation of home dirs
Michael Glauche
mg at plum.de
Thu Oct 26 20:32:13 GMT 2000
--On Donnerstag, 26. Oktober 2000 14:14 -0500 Brad Tarver
<btarver at vention.com> wrote:
> k well that didn't work.
>
> any other suggestions?
>
> all i have to do is some thing like this, right?
>
> touch /usr/local/samba/bin/add_user
>
> edit /usr/local/samba/bin/add_user to look like this:
> #!/bin/sh
> useradd $1
> chmod 0711 /home/$1
>
> and then add this to /etc/smb.conf:
> add user script = /usr/local/samba/bin/add_user %u
are you running samba with
security=domain
or
security=server
?
(if not, add user script will not work)
regards,
Michael
More information about the samba-ntdom
mailing list