more debug logging in ldap
This commit is contained in:
parent
e35072c687
commit
2a7adf05d1
@ -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…
Reference in New Issue
Block a user