From 433af8261ffe183ab32f158d4cc079c572aecfa0 Mon Sep 17 00:00:00 2001 From: garrettmills Date: Sun, 18 Oct 2020 21:44:53 -0500 Subject: [PATCH] Add debug output --- app/ldap/controllers/Users.controller.js | 1 + 1 file changed, 1 insertion(+) 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