[Samba] Auto Create user home directory
Jason Haar
Jason.Haar at trimble.co.nz
Mon Jan 15 20:46:00 GMT 2007
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
More information about the samba
mailing list