Thanks for your response.
On Wed, Apr 13, 2011 at 8:30 AM, Dan White dwhite@olp.net wrote:
On 12/04/11 19:10 -0500, Madhusudan Singh wrote:
Hello
I have an LDAP authentication setup that authenticates users against a server that I do not control.
Could you provide more details about your setup?:
Do you know what ldap server and version the server is running? What openldap client libraries are you using on the clients? What other software, if any, are you using to authenticate users to the server (e.g. PADLs pam-ldap)? Are you also using an ldap nss plugin? What OS on the clients?
I know nothing about the server setup. Acquiring any information about it, much less modifying it, is going to be difficult (if not impossible).
The client is an OpenSuSE 11.2 machine that has a nss_ldap installed (along with pam_ldap). The IT folks also installed a binary-only module that permits the authentication to the University LDAP server. That is why I am using an old version of OpenSuSE.
However, whenever a user logs in, the default home directory is set to an
NFS mount on another server.
So the users' home directories are set to something similar to '/nfs/server-1/home/jsmith' I would guess.
A path starting with /net, but yes, it is NFS.
See 'getent passwd jsmith' (or your system's equivalent) to see what their current home directory is.
It matches the NFS path mount.
I want to change the settings so that the user's home directory is local,
say, /home/CAMPUS/username.
You'd have to know what nss plugin, if any, is in effect, and modify it's database (e.g. /etc/passwd, or the user's entry in your ldap server).
I cannot change anything on the LDAP server, so that part is out of the question.
Is there something I can do at my end to;
1. Log users into /home/CAMPUS/username. 2. Create a dynamic symlink to their /net NFS mount for the duration of the session (or even permanently) ?