OpenMetadata is a unified metadata platform for data discovery, data observability, and data governance powered by a central metadata repository, in-depth column level lineage, and seamless team collaboration.
After configuring LDAP authentication, the user name created in the database is:
uid=jgr,ou=people,dc=geomaster,dc=pt.
This user name is compared with the one entered on the login form: jgr@geomaster.pt. The strings do not match.
The error is:
User with given email exists but is not associated with provider username. Matching User Found By Email [username:email] : [uid=jgr,ou=people,dc=geomaster,dc=pt:jgr@geomaster.pt], Provided User: [jgr:jgr@geomaster.pt]
Affected module
Only affects LDAP authentication.
Describe the bug
After configuring LDAP authentication, the user name created in the database is:
uid=jgr,ou=people,dc=geomaster,dc=pt
.This user name is compared with the one entered on the login form:
jgr@geomaster.pt
. The strings do not match.The error is:
To Reproduce
Configure LDAP:
also tried with:
The username created in the database (taken from the json field) is:
uid=jgr,ou=people,dc=geomaster,dc=pt
This username should be just
jgr
.Expected behavior
If I manually change the json to
{"id": "...", "name": "jgr", "email": "jgr@geomaster.pt",
, the login works.Version:
Additional context
I may be missing some configuration variables.
Maybe related with #17452