You just need to set your security parameter to be domain (security domain) and
then make an adduser script that creates the directories
automatically. It could just be something like:
useradd -p "im a nothing password" $1
mkdir /home/$1
chown $1 /home/$1
Of course you'll probably want to add more parameters to the useradd
command, for example to give them no shell, etc, etc. The -p on this
system (openbsd) wants a prehashed password, so if you give it anything
else, it's pretty much worthless.
Pulu
----
Pulu 'Anau
Queen Salote College
http://www.qsc.to - (676) 24-911
On Mon, 31 Dec 2001, Clemens Hermann wrote:
> Hi,
>
> as windbind is not supported on FreeBSD I hope to get some hints how to
> solve the following issues:
> I want to setup a samba (2.2.2) fileserver that just contains the
> home-directories for all users of a Win-NT 4.0 Domain.
>
> - How can I use the PDC for authentication instead of smbpasswd?
> - I am looking for an easy way to auto-genarate a home-dir each time a new
> Domain-user is created via the NT-usrmgr.
>
> Thanks in advance for any hint, rtfm, urls, ...
>
> /ch
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
>