add openldap compat
apps like firefly-iii seem to require these fields when using the openldap driver
This commit is contained in:
+2
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user