print username field as well

This commit is contained in:
Girish Ramakrishnan
2019-10-25 17:00:59 -07:00
parent 13262d014b
commit 8ed2f98d1d
+1 -1
View File
@@ -151,7 +151,7 @@ function sync(progressCallback, callback) {
scope: 'sub' // We may have to make this configurable
};
debug(`Listing users at ${externalLdapConfig.baseDn} with filter ${externalLdapConfig.filter}`);
debug(`Listing users at ${externalLdapConfig.baseDn} with filter ${externalLdapConfig.filter} and usernameField=${externalLdapConfig.usernameField}`);
client.search(externalLdapConfig.baseDn, opts, function (error, result) {
if (error) return callback(new BoxError(BoxError.EXTERNAL_ERROR, error));