[Samba] Auto create home dirs - how?
jc_nou at hotmail.com
Mon Apr 8 19:36:14 GMT 2002
Have you checked out a PAM module called pam_mkhomedir.so?
----- Original Message -----
From: "Warwick Smith" <warwick at imvs.sa.gov.au>
To: <samba at lists.samba.org>
Sent: Tuesday, April 09, 2002 11:34 AM
Subject: [Samba] Auto create home dirs - how?
> I have setup Samba 2.2.3a with an OpenLDAP backend to store users, groups
> and computers successfully, which means users are created there directly
> not through the normal unix utils. This means the user's home directory
> not created when the user is.
> Does anyone have ideas on how to get Samba to automatically create a home
> Sounded easy to me, but I have the added complication of having many
> home directories on separate Samba servers (ie not the PDC), so I can't
> add a 'root prexec = createhomescript' in the [netlogon] share.
> I've tried the 'root prexec' in the [homes] section but Samba will not
> the user's home share unless the home dir exists - seems like a chicken
> egg situation to me.
> Warwick Smith
> Electronic Services Officer / Webmaster
> Email: warwick at imvs.sa.gov.au
> Web: http://www.imvs.sa.gov.au
> Tel: +61 8 82223832
> Fax: +61 8 82223147
> * If it's never finished, you can't prove it doesn't work. *
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba