-
Bug
-
Resolution: Unresolved
-
Major
-
None
Override domain controllers
-----------------------------------------
This plugin follows the standard lookup procedure to determine the
list of candidate Active Directory domain controllers, and this should
be suffice for the normal circumstances. But if for some reasons it
isn't, you can manually override and provide the list of domain
controllers by setting the system property
"hudson.plugins.active_directory.ActiveDirectorySecurityRealm.domainControllers"
with the value of the format "host:port,host:port,...". The port
should be normally 3269 (for global catalog over SSL), 636 (LDAP over
SSL), 3268 (for global catalog), or 389 (LDAP.)
So I've started my Tomcat with the system property as follows:
-Dhudson.plugins.active_directory.ActiveDirectorySecurityRealm.domainControllers=<my
host>:389
However the plugin doesn't appear to pick this up.
You can check if the value is taking effect by running "println hudson.plugins.active_directory.ActiveDirectorySecurityRealm.DOMAIN_CONTROLLERS" from your Groovy script console. I double-checked the code and I think it is doing the right thing, though.
What made you conclude that this property isn't being consulted?