[Samba] Creating user home dirs elsewhere?

Buchan Milne bgmilne at obsidian.co.za
Mon Jan 26 18:43:42 GMT 2004

On Wed, 21 Jan 2004, Geoff wrote:

> Hi - I'm using the mk_homedir.so module to create user directories using 
> samba 3.0.1 in a Windows 2000 PDC environment.  The samba server is 
> acting as a domain member.  I'm wondering if there is a way to specify 
> the location of the user's home directories other than under /home.  I'd 
> really like the user directories to be created under /home/users.

If you're using Winbind (you don't say), just edit 'template homedi' (at 
least, that's what it is on 2.2.x, can't remember now if it has changed.

pam_mkhomedir will just make the directory returned with 'getent passwd 


More information about the samba mailing list