[Samba] Auto Create user home directory

M Azer azermina at gmail.com
Mon Jan 15 21:04:17 GMT 2007

I have created the Domain folder "CAD" where all the users home should be
created under. however I still can't create a new  user in win 2003 AD and
have the home folder be created automatically - I still have to create the
home folder first then create the user. does it have anything to do with
pam.d directory? any modification need to be done there?

On 1/15/07, Jason Haar <Jason.Haar at trimble.co.nz> wrote:
> Dale Schroeder wrote:
> > I see you have "template homedir = /home/%D/%U".  Did you create the
> > directory /home/CAD?  It is not created automatically, and that is one
> > thing that seems to be left out of the how-to's.  I set the directory
> > permissions to 770, owned by root*:*"DOMAIN+Domain Users".  After
> > doing this, all my user home directories were created on 1st login.
> I think that should be reported as a bug. As "%D" is dynamic and may
> change with time (as new domains are added to an existing site),
> expecting it to be manually created beforehand is a bit odd. If "%U" can
> be created on the fly - why not anything else?
> --
> Cheers
> Jason Haar
> Information Security Manager, Trimble Navigation Ltd.
> Phone: +64 3 9635 377 Fax: +64 3 9635 417
> PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list