Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #69 from fbelzunc/JENKINS-39375-v2
[FIXED JENKINS-39375] Use bindName instead of the incorrect domainName
  • Loading branch information
fbelzunc committed Mar 14, 2017
2 parents 3f894f3 + 9b86ca9 commit f3b70ff
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 f3b70ff

Please sign in to comment.