Skip to content

Commit

Permalink
[JENKINS-39375] Use bindName instead of the incorrect domainName
Browse files Browse the repository at this point in the history
  • Loading branch information
fbelzunc committed Mar 14, 2017
1 parent 3f894f3 commit 9b86ca9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -455,7 +455,7 @@ public ActiveDirectoryGroupDetails call() {
ClassLoader ccl = Thread.currentThread().getContextClassLoader();
Thread.currentThread().setContextClassLoader(getClass().getClassLoader());
try {
DirContext context = descriptor.bind(domain.getName(), domain.getBindPassword().getPlainText(), obtainLDAPServers(domain));
DirContext context = descriptor.bind(domain.getBindName(), domain.getBindPassword().getPlainText(), obtainLDAPServers(domain));

try {
final String domainDN = toDC(domain.getName());
Expand Down

0 comments on commit 9b86ca9

Please sign in to comment.