LDAP authentication and autofs
We have a Mac OSX running LDAP and acting as a fileserver (with samba and afs for other computers to mount home directory shares) - I didn't set this up, and it cannot be changed.
I have recently put together a linux box running SuSE 10.2, and have managed to set up authentication using LDAP for users to log in using their existing user names and passwords on the Mac OSX server. The problem is that when a user logs on to the linux box, it cannot change to that users home directory (as dictated by the directory server), as that directory is not mounted on the linux box.
What I would like to know is, if it is possible, how can I have the linux system temporarily mount each users home directory (from the Mac server) when they log in? I am fully aware of autofs, but do not know how to set it up. What I would like is that the user would not have to type in their passwords, and that the linux system would not have to store the usernames or passwords locally (i.e., it would authenticate using the LDAP system).
If doing the above is not possible, are there any work arounds that would be minimally painful to set up?
Thanks,
Derek
|