Skip to content
Permalink
Browse files
[JENKINS-39375] Use bindName instead of the incorrect domainName
  • Loading branch information
fbelzunc committed Mar 14, 2017
1 parent 3f894f3 commit 9b86ca9c5c4d8fadb1ef36dba076525755d037bd
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 9b86ca9

Please sign in to comment.