Commit 602b335c authored by Girish Ramakrishnan's avatar Girish Ramakrishnan

add openldap compat

apps like firefly-iii seem to require these fields when using the
openldap driver
parent 837c8b85
......@@ -143,10 +143,11 @@ function userSearch(req, res, next) {
var obj = {
dn: dn.toString(),
attributes: {
objectclass: ['user'],
objectclass: ['user', 'inetorgperson', 'person' ],
objectcategory: 'person',
entryuuid:, // to support OpenLDAP clients
mailAlternateAddress: entry.fallbackEmail,
displayname: displayName,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment