Skip to content
Permalink
Browse files
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 f3b70ff4664d0b85841d220bf3ce22bf79345eed
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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());

0 comments on commit f3b70ff

Please sign in to comment.