From 21606441248d4512d124a714393a142de3ebcc61 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Fri, 18 Feb 2022 18:40:49 +0100 Subject: [PATCH] Lets not stretch our luck --- src/ldap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ldap.js b/src/ldap.js index f417bdc22..d4b5cf2f3 100644 --- a/src/ldap.js +++ b/src/ldap.js @@ -172,7 +172,7 @@ async function userSearch(req, res, next) { attributes: { objectclass: ['user', 'inetorgperson', 'person', 'organizationalperson', 'top' ], objectcategory: 'person', - cn: displayName, + cn: user.id, uid: user.id, entryuuid: user.id, // to support OpenLDAP clients mail: user.email,