diff --git a/app/ldap/controllers/Users.controller.js b/app/ldap/controllers/Users.controller.js index 5d2f5bf..227397d 100644 --- a/app/ldap/controllers/Users.controller.js +++ b/app/ldap/controllers/Users.controller.js @@ -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