[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ldap_result() failed: Can't contact LDAP server



Package: nslcd

I have upgraded from Debian 11 to Debian 12.

The problem is that I keep getting the below errors in the syslog...
893:2024-02-29T16:30:13.055665+00:00 hostname-shaheena nslcd[7712]: [d062c2] <group/member="root"> ldap_start_tls_s() failed (uri=ldap://127.0.0.1:389/): Can't contact LDAP server: Transport endpoint is not connected
894:2024-02-29T16:30:13.055747+00:00 hostname-shaheena nslcd[7712]: [d062c2] <group/member="root"> failed to bind to LDAP server ldap://127.0.0.1:389/: Can't contact LDAP server: Transport endpoint is not connected
1423:2024-03-01T09:08:08.473189+00:00 hostname-shaheena nslcd[24301]: [8b4567] <group/member="local_admin"> ldap_start_tls_s() failed (uri=ldap://127.0.0.1:389/): Can't contact LDAP server: Transport endpoint is not connected
1424:2024-03-01T09:08:08.473204+00:00 hostname-shaheena nslcd[24301]: [8b4567] <group/member="local_admin"> failed to bind to LDAP server ldap://127.0.0.1:389/: Can't contact LDAP server: Transport endpoint is not connected
1648:2024-03-01T09:09:08.556456+00:00 hostname-shaheena nslcd[36935]: [8b4567] <group/member="openldap"> ldap_start_tls_s() failed (uri=ldap://127.0.0.1:389/): Can't contact LDAP server: Transport endpoint is not connected
1649:2024-03-01T09:09:08.556475+00:00 hostname-shaheena nslcd[36935]: [8b4567] <group/member="openldap"> failed to bind to LDAP server ldap://127.0.0.1:389/: Can't contact LDAP server: Transport endpoint is not connected
1651:2024-03-01T09:09:08.668341+00:00 hostname-shaheena nslcd[36935]: [7b23c6] <group/member="rabbitmq"> ldap_start_tls_s() failed (uri=ldap://127.0.0.1:389/): Can't contact LDAP server: Transport endpoint is not connected
1652:2024-03-01T09:09:08.668363+00:00 hostname-shaheena nslcd[36935]: [7b23c6] <group/member="rabbitmq"> failed to bind to LDAP server ldap://127.0.0.1:389/: Can't contact LDAP server: Transport endpoint is not connected

My nslcd.conf looks like below:
# /etc/nslcd.conf
# nslcd configuration file. See nslcd.conf(5)
# for details.

# The user and group nslcd should run as.
uid nslcd
gid nslcd

uri ldap://127.0.0.1:389/
binddn cn=ldap_login,ou=people,dc=subdomain,dc=domain,dc=com
bindpw xxxxxxxxxxx
ldap_version 3
base ou=people,dc=subdomain,dc=domain,dc=com
ssl start_tls
tls_reqcert never


cat /etc/nsswitch.conf
# /etc/nsswitch.conf


gshadow:        files

hosts:          files dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files


passwd:        compat ldap
group:         compat ldap
shadow:        compat ldap
netgroup:      nis ldap

All the services are up and running fine. Only thing is I am not able to figure out what is causing these messages in the syslog.
Can u guys help me understand this ?




Reply to: