Fixup cn attribute for ldap to be according to spec
This commit is contained in:
@@ -170,7 +170,7 @@ async function userSearch(req, res, next) {
|
||||
attributes: {
|
||||
objectclass: ['user', 'inetorgperson', 'person' ],
|
||||
objectcategory: 'person',
|
||||
cn: user.id,
|
||||
cn: displayName,
|
||||
uid: user.id,
|
||||
entryuuid: user.id, // to support OpenLDAP clients
|
||||
mail: user.email,
|
||||
|
||||
Reference in New Issue
Block a user