diff --git a/app/ldap/controllers/Users.controller.js b/app/ldap/controllers/Users.controller.js index a4abf31..631d2fe 100644 --- a/app/ldap/controllers/Users.controller.js +++ b/app/ldap/controllers/Users.controller.js @@ -299,6 +299,7 @@ class UsersController extends LDAPController { // Make sure the user is of appropriate scope if ( req.dn.equals(user.dn) || req.dn.parentOf(user.dn) ) { + this.output.debug(await user.to_ldap()) this.output.debug(`Matches sub scope. Matches filter? ${req.filter.matches(await user.to_ldap(iam_targets))}`) // Check if filter matches