[Samba] Samba + OpenLDAP + Automount question

Prakash Velayutham prakash.velayutham at cchmc.org
Tue Dec 21 17:00:29 GMT 2004


Thanks Peter.
That is an option. I was wondering if there is a way to make Samba 
interact with the autofs code to start autofs during a user login 
process. Any suggestions from Samba developers on this one?

Thanks,
Prakash

On Dec 21, 2004, at 4:15 AM, Peter Olivia wrote:

> Here is what I did on my setup:
>
>
>
> 1)       Mounted a base share for all samba data (i.e. home dirs and
> profiles) in /home/samba so that I ended up with 
> /home/samba/home/$USER and
> /home/samba/profiles/$USER (where $USER is the login name of the user)
>
> 2)       Pointed all LDAP users home dirs to /home/samba/home/$USER and
> their profiles to /home/samba/profiles/$USER
>
> 3)       All I needed to do then is setup shares (and the logon path 
> and
> logon home entries)
>
> a.       [homes]
> path=/home/samba/home/%u
>
> b.       [Profiles]
> path=/home/samba/profiles
>
>
>
> The home dirs get automounted at user logon as the logon home drive.
>
> -- 
> 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