You have been subscribed to a public bug: I'm trying to set up ldap authentication in a fresh 8.04 installation. I've done exactly as we have in working 7.10 machines but it doesn't work.
This is what I get in auth.log: Apr 25 18:02:23 labclient login[9311]: PAM unable to dlopen(/lib/security/pam_smbpass.so) Apr 25 18:02:23 labclient login[9311]: PAM [error: /lib/security/pam_smbpass.so: cannot open shared object file: No such file or directory] Apr 25 18:02:23 labclient login[9311]: PAM adding faulty module: /lib/security/pam_smbpass.so Apr 25 18:02:27 labclient login[9311]: pam_ldap: ldap_simple_bind Can't contact LDAP server Apr 25 18:02:27 labclient login[9311]: pam_ldap: reconnecting to LDAP server... Apr 25 18:02:27 labclient login[9311]: pam_ldap: ldap_simple_bind Can't contact LDAP server Apr 25 18:02:27 labclient login[9311]: pam_unix(login:auth): check pass; user unknown Apr 25 18:02:27 labclient login[9311]: pam_unix(login:auth): authentication failure; logname=LOGIN uid=0 euid=0 tty=tty4 ruser= rhost= Apr 25 18:02:30 labclient login[9311]: FAILED LOGIN (1) on 'tty4' FOR `UNKNOWN', User not known to the underlying authentication module And this is from ldapsearch -d 1: ldap_create ldap_pvt_sasl_getmech ldap_search put_filter: "(objectclass=*)" put_filter: simple put_simple_filter: "objectclass=*" ldap_send_initial_request ldap_new_connection 1 1 0 ldap_int_open_connection ldap_connect_to_host: TCP 172.19.66.6:636 ldap_new_socket: 4 ldap_prepare_socket: 4 ldap_connect_to_host: Trying 172.19.66.6:636 ldap_pvt_connect: fd: 4 tm: -1 async: 0 TLS: hostname (172.19.66.6) does not match common name in certificate (172.19.66.6). ldap_err2string ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1) I guess it has something to do with the "TLS: hostname (172.19.66.6) does not match common name in certificate (172.19.66.6)." line. Weird. ** Affects: libpam-ldap (Ubuntu) Importance: Undecided Status: New -- Can't contact LDAP server https://bugs.launchpad.net/bugs/222003 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libpam-ldap in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs