Fixup cn attribute for ldap to be according to spec

Bring back b54c4bb399
This commit is contained in:
Johannes Zellner
2022-02-18 17:31:02 +01:00
committed by Girish Ramakrishnan
parent d13905377c
commit ef0f9c5298
+1 -1
View File
@@ -172,7 +172,7 @@ async function userSearch(req, res, next) {
attributes: {
objectclass: ['user', 'inetorgperson', 'person', 'organizationalperson', 'top' ],
objectcategory: 'person',
cn: user.id,
cn: displayName,
uid: user.id,
entryuuid: user.id, // to support OpenLDAP clients
mail: user.email,