Hi Samba Gurus, I am not sure why my questions to the forum are not getting posted (and I don't get any reply at all)!!!! Anyway, instead of my Mac mail client, I am using webmail just to see if that works. Sorry for the repetition. We have an OpenLDAP server (openldap2-2.1.22-65) and a separate NFS server for home dirs. Currently LDAP NIS maps are being used by the Linux users in the department for home dir mounting on Linux clients. As everybody does, I started to look at Samba to accommodate the Windows users and have a single user database (in LDAP) to work with. Now I have a Samba PDC running samba3-3.0.9-1 version in my LDAP server with passdb backend being ldapsam:ldap://127.0.0.1. PDC itself works just fine right now with roaming profiles etc. The NFS server is the only system with big disks and hence we would like to have the home dirs in that system. I am not sure how automount plays into the whole setting of Samba and OpenLDAP. When a user logs into a windows machine, his home directory should get mounted from the NFS server automatically. The (Windows) profile would also live inside the (UNIX) home directory of the user and hence would also has to get mounted. Hopefully I am clear enough. Please send any configuration settings if you can. I tried some googling, but just saw one link where somebody discussed something similar with Sun's LDAP server and Samba. I tried that but did not work with OpenLDAP. The constraint is that the home dir NFS server is also a server for a Linux cluster we maintain and I do not want to touch that server currently for anything. Any help greatly appreciated. Thanks, Prakash
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.
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
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