Girish Ramakrishnan
2022-10-30 15:07:26 +01:00
parent a2bf9180af
commit 59783eb11b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -200,7 +200,7 @@ async function userSearch(req, res, next) {
givenName: firstName,
username: user.username,
samaccountname: user.username, // to support ActiveDirectory clients
memberof: allGroups.filter(function (g) { return g.userIds.indexOf(user.id) !== -1; }).map(function (g) { return g.name; })
memberof: allGroups.filter(function (g) { return g.userIds.indexOf(user.id) !== -1; }).map(function (g) { return `cn=${g.name},ou=groups,dc=cloudron`; })
}
};