Fixup cn attribute for ldap to be according to spec

This commit is contained in:
Johannes Zellner
2022-02-18 17:31:02 +01:00
parent feaa5585e1
commit b54c4bb399
3 changed files with 4 additions and 3 deletions

View File

@@ -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,