Problem connecting to LDAP server

Hi ,
I am trying to enable ldap authentication in the metabase server but when i try to login i get the below error:

ERROR api.session :: Problem connecting to LDAP server, will fall back to local authentication
LDAPException(resultCode=32 (no such object), numEntries=0, numReferences=0, diagnosticMessage='0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of:
'DC=xxx,DC=test'
', matchedDN='DC=xxx,DC=test', ldapSDKVersion=4.0.4, revision=27051')

Below is the diagnosis info:

{
"browser-info": {
"language": "en-US",
"platform": "MacIntel",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36",
"vendor": "Google Inc."
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.8+10",
"java.vendor": "AdoptOpenJDK",
"java.vendor.url": "https://adoptopenjdk.net/",
"java.version": "11.0.8",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.8+10",
"os.name": "Linux",
"os.version": "5.4.0-1018-aws",
"user.language": "en",
"user.timezone": "UTC"
},
"metabase-info": {
"databases": [
"h2"
],
"hosting-env": "unknown",
"application-database": "postgres",
"application-database-details": {
"database": {
"name": "PostgreSQL",
"version": "12.4"
},
"jdbc-driver": {
"name": "PostgreSQL JDBC Driver",
"version": "42.2.8"
}
},
"run-mode": "prod",
"version": {
"date": "2020-08-17",
"tag": "v0.36.4",
"branch": "release-0.36.x",
"hash": "196c1f6"
},
"settings": {
"report-timezone": null
}
}
}

i am unable to understand the issue here, any help would be appreciated.

Hi @shadma
Debugging LDAP is difficult, so try capturing network traffic and compare clients that work with Metabase.
LDAP Debugging
But upgrade to latest release. There has been many fixes to LDAP since last year: https://github.com/metabase/metabase/releases/latest

Hi @flamber ,
I am new to ldap as well so Could you help me understand how do i capture network traffic and compare clients that work with Metabase?
Till then i will try to test it with latest metabase version.
thanks

@shadma LDAP is complicated. Try searching the forum or the internet.
How to debug LDAP is not specific to Metabase.

Ok sure!
thanks for the help!