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 'cn=username@domain.com,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