[Samba] smb.conf root preexec ?

Rowland Penny rpenny at samba.org
Wed Aug 1 15:44:24 UTC 2018

On Wed, 1 Aug 2018 16:39:14 +0100
niya via samba <samba at lists.samba.org> wrote:

> Hi Rowland
> > The problem is that the DC just provides authentication and yes,
> > whilst I suppose you could place a script in netlogon to do what
> > you require, there are better ways of doing this, autofs, pam-mount
> > or pam-script, so I suggest you investigate these, I would start
> > with the last one first.
> >
> > Rowland
> >
> i sat back and had a think for a while and decided not to complicate
> my dc with this auto user creation idea,
> what i will do is use rsat to create the user then ssh to the
> fileserver and run a home directory creation script there.
> thank for the help.
> shadrock

If you set PAM correctly, this will create user home directories for
you, automatically.


More information about the samba mailing list