trouble configuring pam using pam_ldap and pam_mount

Heiko Harders harders at fmf.nl
Sat Jul 28 19:45:37 UTC 2007


I tried that first (but didn't go into too much trouble yet). I thought 
'pam_mount' would be nicer because it can be configured so that volumes 
are only mounted when a user logs on (if I understood correctly with 
autofs the volumes are mounted on startup, also the howto I found 
described that for each user you should add an entry in the LDAP server 
for his/her homedirectory).

The way I have configured it now it almost works. The only thing I need 
now is prefent using pam_mount when a local user logs on (or I might 
consider leaving it like it is now, but that would cause problems when 
there are local accounts having the same username as network accounts... 
which off course is a bad thing either way).

Heiko

Jose Plans wrote:
> On Sat, 2007-07-28 at 21:30 +0200, Heiko Harders wrote:
>   
>> Hi,
>>
>> I'm trying to configure PAM for my needs all day now, but I can't get it 
>> right.
>> I have an LDAP server which contains the user login information for my 
>> users. This server also serves the home directory's using NFS.
>>
>> On my clients I use pam_ldap to authenticate and I use pam_mount to 
>> mount the home directorys whenever a users logs on. This works fine. The 
>> problem is, whenever a local user on the client logs on, pam_mount [..]
>>     
>
> Have you considered using an auto mounter such as autofs? These work
> fine with LDAP and what you want to do.
>
>      Jose
>
>
> _______________________________________________
> Pam-list mailing list
> Pam-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pam-list
>   




More information about the Pam-list mailing list