Skip to content

Commit

Permalink
fixed principal/domain label
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeTWC1984 committed Jul 17, 2020
1 parent c716c39 commit 6d14040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/user.ad.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ module.exports = Class.create({
this.ad_domain = this.server.config.get('ad_domain') || 'corp.cronical.com';
try {
var ActiveDirectory = require('activedirectory2');
this.ad = new ActiveDirectory({ url: ('ldap://' + this.ad_principal) });
this.ad = new ActiveDirectory({ url: ('ldap://' + this.ad_domain) });
}
catch (err) {
this.ad_error = err.code;
Expand Down

0 comments on commit 6d14040

Please sign in to comment.