OpenSearch/plugin
Jay Modi 6fdad6039f Allow the Active Directory UPN authenticator to work with suffixes (elastic/x-pack-elasticsearch#1958)
The active directory user principal name format typically takes the form user@domain, which is what
the current implementation expects. However, active directory also allows the definition of other
suffixes that are not actual domains. A user can still authenticate using this user principal name
but the behavior of our realm would cause it to fail as it parsed the suffix as a domain and used it
as the search base for the user. Instead, we should use the default user search base and only look
for entries that have this exact user principal name. In a scenario where a realm is configured for
multiple domains in the same forest, the search base should be the base for the entire forest.

relates elastic/x-pack-elasticsearch#1744

Original commit: elastic/x-pack-elasticsearch@de00c4817e
2017-07-13 10:08:22 -06:00
..
bin/x-pack Use a secure setting for the watcher encryption key (elastic/x-pack-elasticsearch#1831) 2017-06-29 14:58:35 -06:00
bwc Remove assemble from build task when assemble removed 2017-06-16 17:19:47 -04:00
config/x-pack Rename core plugin and transport dirs 2017-02-10 11:02:42 -08:00
keys Rename core plugin and transport dirs 2017-02-10 11:02:42 -08:00
licenses Upgrade to Netty 4.1.13.Final 2017-07-06 15:37:17 -04:00
ml-cpp-snapshot Build: Switch ml snapshot dependency to a local project (elastic/x-pack-elasticsearch#1559) 2017-05-26 01:15:12 -07:00
src Allow the Active Directory UPN authenticator to work with suffixes (elastic/x-pack-elasticsearch#1958) 2017-07-13 10:08:22 -06:00
.gitignore Remove QueryParseContext (elastic/x-pack-elasticsearch#1895) 2017-07-03 17:31:18 +02:00
build.gradle Rename client artifacts (elastic/x-pack-elasticsearch#1985) 2017-07-13 09:44:53 +02:00