more debug logging in ldap

feature/cd
Garrett Mills 4 years ago
parent e35072c687
commit 2a7adf05d1
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

@ -262,6 +262,10 @@ class UsersController extends LDAPController {
// Fetch the users as LDAP objects
const users = await this.User.ldap_directory()
this.output.debug(`Searching ${users.length} users...`)
this.output.debug(`Request DN: ${req.dn}`)
this.output.debug(`Filter:`)
this.output.debug(req.filter)
for ( const user of users ) {
// Make sure the user is of appropriate scope

Loading…
Cancel
Save