![](https://seccdn.libravatar.org/avatar/3fc7d50720d07e9a5b41177d39904308.jpg?s=120&d=mm&r=g)
On Monday 25 September 2006 21:06, rejaine@bhz.jamef.com.br wrote:
Hi !
I'm trying to change pam_login_attribute to cn in /etc/ldap.conf to authenticate users from common_name but don't works.... [..]
When I try to login using cn like "John_Lennon" , I give this error: login[11170]: User not known to the underlying authentication module Is the user object returned if you search the LDAP Server with ldapsearch and a filter of "(&(objectclass=posixAccount)(cn=John_Lennon))"?
If "pam_login_attribute uid" is used, all works fine...
What's wrong? Just guessing, but you might need to add: nss_map_attribute uid cn to you ldap.conf as well to have this working completely.
-- Ralf Haferkamp SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg T: +49-911-74053-0 F: +49-911-74053575 - Ralf.Haferkamp@suse.com