Browse Source

Remove debugging

master
Garrett Mills 1 year ago
parent
commit
bd6eaceaf3
Signed by: garrettmills GPG Key ID: D2BF5FBA8298F246
  1. 3
      app/ldap/controllers/Sudo.controller.js

3
app/ldap/controllers/Sudo.controller.js

@ -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.

Loading…
Cancel
Save