diff --git a/app/ldap/controllers/Users.controller.js b/app/ldap/controllers/Users.controller.js index a5f2d15..1c231b5 100644 --- a/app/ldap/controllers/Users.controller.js +++ b/app/ldap/controllers/Users.controller.js @@ -274,6 +274,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(`Matches sub scope. Matches filter? ${req.filter.matches(await user.to_ldap(iam_targets))}`) // Check if filter matches if ( req.filter.matches(await user.to_ldap(iam_targets)) ) {