This issue has been created
 
 
LDAP / cid:jira-generated-image-avatar-5ab9d3a6-c538-4312-889f-30871bf9f077 LDAP-156 Open

LDAPUtils.getUserProfileByDn always returns an empty result

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-db9fc19d-e9dd-401f-958e-92b5d1d9cbb0 Clemens Robbenhaar created this issue on 26/May/25 15:02
 
Summary: LDAPUtils.getUserProfileByDn always returns an empty result
Issue Type: cid:jira-generated-image-avatar-5ab9d3a6-c538-4312-889f-30871bf9f077 Bug
Affects Versions: 9.15.7
Assignee: Unassigned
Components: Authenticator
Created: 26/May/25 15:02
Priority: cid:jira-generated-image-static-minor-fd11c477-df06-4133-ba5f-8af551ec066c Minor
Reporter: Clemens Robbenhaar
Description:

That is because it searches for an attribute with name dn and type StringProperty, while the actual type is LargeStringProperty.

As a result, e.g. the authenticator never finds the users by their DN, and might create duplicate accounts if the check by uid fails.