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

This commit is contained in:
Garrett Mills 2021-04-15 13:16:19 -05:00
parent 6b2257ae33
commit bd6eaceaf3
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

View File

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