One login VLDAP for mongodb is not working for Debian 11

Hi Team,

For the bind user to use roles for mongodb authentication, we are using Onelogin VLDAP.

When we try to set that up in Debian 11, it fails to work, however it works with Debian 10 or RHEL without any issues.

{"t":{"$date":"2023-03-16T13:25:40.420+00:00"},"s":"F", "c":"CONTROL", "id":20575, "ctx":"main","msg":"Error creating service context","attr":{"error":"LDAPLibraryError: Failed to authenticate ',ou=users,dc=domain,dc=onelogin,dc=com' using simple bind; LDAP error: Can't contact LDAP server"}}

Checked the telnet connectivity from Debian 11 and it is working fine

Found a library difference between Debian 10 and 11 which caused the issue.
Installing this has resolved the issue libldap-common

1 Like