Debugging
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Garrett Mills 2021-04-15 12:51:23 -05:00
parent b26519ea88
commit 7e3f198c04
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

View File

@ -26,6 +26,8 @@ class SudoController extends LDAPController {
return next(new LDAP.InsufficientAccessRightsError()) return next(new LDAP.InsufficientAccessRightsError())
} }
console.log('[SUDO SEARCH]', req.filter.toString())
const iam_targets = this.parse_iam_targets(req.filter) const iam_targets = this.parse_iam_targets(req.filter)
if ( req.scope === 'base' ) { if ( req.scope === 'base' ) {
// If scope is base, check if the base DN matches the filter. // If scope is base, check if the base DN matches the filter.