Can't contact LDAP server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libpam-ldap (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
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(
Apr 25 18:02:23 labclient login[9311]: PAM [error: /lib/security/
Apr 25 18:02:23 labclient login[9311]: PAM adding faulty module: /lib/security/
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(
Apr 25 18:02:27 labclient login[9311]: pam_unix(
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_
ldap_search
put_filter: "(objectclass=*)"
put_filter: simple
put_simple_filter: "objectclass=*"
ldap_send_
ldap_new_connection 1 1 0
ldap_int_
ldap_connect_
ldap_new_socket: 4
ldap_prepare_
ldap_connect_
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_
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.
Broken certificate.. I don't think it even should contact that server, ever.