active-directory-plugin icon indicating copy to clipboard operation
active-directory-plugin copied to clipboard

Improved multiple domain support

Open nieuwtje opened this issue 10 years ago • 4 comments

Whenever multiple domain controllers are defined, but they don't have a port assigned, only the last domain controller was given a port -> Added support for multiple servers without assigned ports.

Also, when multiple domain controllers are defined, only the ones in the domain you're looking at need to be checked -> Added check which checks whether hostname ends with the given domain, if not, it's not in the domain you're looking at.

nieuwtje avatar Feb 17 '15 12:02 nieuwtje

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

jenkinsadmin avatar Feb 17 '15 13:02 jenkinsadmin

can you split this into to separate PRs?

The not adding the port is perfectly valid and not contentiuos. Filtering the preferred server is as this may result in not adding a preferred server that would be network local and serving the global catalogue (so login times could increase due to network RTT and/or quering multiple servers in the case of a bad password).

jtnord avatar Feb 05 '16 12:02 jtnord

Moved port assignment to a new PR

Whenever multiple domain controllers are defined, but they don't have a port assigned, only the last domain controller was given a port -> Added support for multiple servers without assigned ports.

nieuwtje avatar Feb 05 '16 17:02 nieuwtje

So I'm not convinced that this is correct. An AD server for sub.bob.com could be in foo.com and not sub.bob.com (e.g. a global catalog in the forest). If global.foo.com is site local and server.sub.bob.com is the other side of the world this would have a massive performance impact.

jtnord avatar Mar 03 '16 11:03 jtnord