diff --git a/src/ldap.js b/src/ldap.js index 7ae08b46f..f6a1c7eb9 100644 --- a/src/ldap.js +++ b/src/ldap.js @@ -143,10 +143,11 @@ function userSearch(req, res, next) { var obj = { dn: dn.toString(), attributes: { - objectclass: ['user'], + objectclass: ['user', 'inetorgperson', 'person' ], objectcategory: 'person', cn: entry.id, uid: entry.id, + entryuuid: entry.id, // to support OpenLDAP clients mail: entry.email, mailAlternateAddress: entry.fallbackEmail, displayname: displayName,