|
|
|
@ -262,6 +262,10 @@ class UsersController extends LDAPController {
|
|
|
|
|
|
|
|
|
|
// Fetch the users as LDAP objects
|
|
|
|
|
const users = await this.User.ldap_directory()
|
|
|
|
|
this.output.debug(`Searching ${users.length} users...`)
|
|
|
|
|
this.output.debug(`Request DN: ${req.dn}`)
|
|
|
|
|
this.output.debug(`Filter:`)
|
|
|
|
|
this.output.debug(req.filter)
|
|
|
|
|
for ( const user of users ) {
|
|
|
|
|
|
|
|
|
|
// Make sure the user is of appropriate scope
|
|
|
|
|