KnowageLabs/Knowage-Server

LDAP integration using full name instead of userId

Closed this issue · 2 comments

Is your feature request related to a problem? Please describe.
I'm trying to set up LDAP authentication. My tipical distinguishedName is
"CN=ENRICO SANNA,OU=Test,DC=organizationName,DC=it"

my knowage username is enrico.sanna
my active directory username is store in the attribute sAMAccountName = enrico.sanna

Describe the solution you'd like
I would like to have in the following code
https://github.com/KnowageLabs/Knowage-Server/blob/master/knowageldapsecurityprovider/src/main/java/it/eng/spagobi/security/ProfiledLdapSecurityServiceSupplier.java#L98

  • String filter = String.format(properties.getProperty(SEARCH_USER_BEFORE_FILTER), user.getFullName());

or anyway the possibility to choose between userId and fullName with a config in ldap.properties

This issue is stale because it is related to an old version or it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

This issue was closed because it has been stalled for 5 days with no activity.