pam_filter usage prevent passwd from working

Posted by Henry-Nicolas Tourneur on Server Fault See other posts from Server Fault or by Henry-Nicolas Tourneur
Published on 2010-08-04T07:44:33Z Indexed on 2011/01/01 1:55 UTC
Read the original article Hit count: 501

Filed under:
|
|
|

Hello everybody,

I have PAM+LDAP SSL running on Debian Lenny, it works well. I always want to restrict who's able to connect, in the past I used pam_groupdn for that but I recently got a situation where I has to accept 2 different groups. So I used pam_filter like this :

pam_filter |(groupattribute=server)(groupattribute=restricted_server)

The problem is that with this statement, passwd doesn't work anymore with LDAP accounts.

Any idea why ?

Please find hereby some links to my config files :
Since serverfault.com only allow me to post 1 link, please find hereunder the link to other conf files : http://pastebin.org/447148

Many thanks in advance :)

© Server Fault or respective owner

Related posts about linux

Related posts about ldap