On Monday 08 September 2003 11:20 am, José Carlos Stevenson wrote:
I have nss_ldap installed and my /etc/nsswitch.conf seems to be OK: passwd: compat ldap group: compat ldap OR (I've tried both) passwd: files ldap group: files ldap
sounds good. did you make sure you have nss_ldap installed?
And here is my /etc/security/pam_unix2.conf: auth: use_ldap nullok account: use_ldap password: use_ldap nullok session: none
i'm not using this file in my configuration. i think you should get 'getent passwd <user>' working before you worry about pam.
I've also found a "strange" file: "/etc/cpu.cfg" that seems to have something to do with ldap but you can change it with no aparent efects: # LDAP Configuration ldap_host::127.0.0.1 ldap_port::389 bind_dn::cn=Manager,dc=example,dc=com bind_pass::secret base_dn::dc=example,dc=com user_base::ou=People,dc=example,dc=com group_base::ou=Group,dc=example,dc=com user_filter::objectclass=account user_object_class::account,posixAccount,top,shadowAccount,inetOrgPerson group_object_class::posixGroup,top ldap_version::2
again. no idea. i do not have this file.
Anyone knows what can I try? More files involved? More documentation? /etc/sysconfig/saslauthd is involved (bellow)? SASLAUTHD_AUTHMECH=pam
there's some documentation at: http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/LDAP-H...