-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
Win XP, Tomcat 7
The Active Directory Plugin hides the "Site", "Bind DN", and "Bind Password" fields when the Jenkins service is not running on a Windows OS machine.
These fields are required, even in Windows, so as to Bind to an AD server in a domain other than the one upon which the server is running
Showing (UN hiding) these fields resolves the issue. Can reliably recreate the scenario
- duplicates
-
JENKINS-27763 Rework ActiveDirectorySecurityRealm config UI
-
- Resolved
-
Looked at the code from
./src/main/java/hudson/plugins/active_directory/ActiveDirectorySecurityRealm.java
And the magic can indeed happen:
public ActiveDirectorySecurityRealm(String domain, String site, String bindName, String bindPassword, String server, GroupLookupStrategy groupLookupStrategy) {
this.domain = fixEmpty(domain);
this.site = fixEmpty(site);
this.bindName = fixEmpty(bindName);
this.bindPassword = Secret.fromString(fixEmpty(bindPassword));
this.groupLookupStrategy = groupLookupStrategy;