automating creation of home dirs
Brad Tarver
btarver at vention.com
Thu Oct 26 22:33:40 GMT 2000
domain
-----Original Message-----
From: Michael Glauche [mailto:mg at plum.de]
Sent: Thursday, October 26, 2000 3:32 PM
To: Brad Tarver; 'SRuth at LANDAM.com'; samba-ntdom at us5.samba.org
Subject: RE: automating creation of home dirs
--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