mirror of
https://github.com/nicolabs/ldap-plugin.git
synced 2026-05-20 17:35:32 +02:00
[FIXED HUDSON-2256] DeferredCreationLdapAuthoritiesPopulator was deprecated
in 1.280, so the groupSearchFilter used there was lost. Moved this to
groovy file so the uniqueMember query works again, and changed {0} to {1}
in the memberUid query to fix that one.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16009 71c3de6d-444a-0410-be80-ed276b4c234a
Originally-Committed-As: 701805226e77a3cbc90c9ca396ccdaf6145cacef
This commit is contained in:
parent
fddcb63fe6
commit
922624d215
|
|
@ -64,6 +64,7 @@ bindAuthenticator(BindAuthenticator2,initialDirContextFactory) {
|
|||
authoritiesPopulator(AuthoritiesPopulatorImpl, initialDirContextFactory, Util.fixNull(instance.groupSearchBase)) {
|
||||
// see DefaultLdapAuthoritiesPopulator for other possible configurations
|
||||
searchSubtree = true;
|
||||
groupSearchFilter = "(| (member={0}) (uniqueMember={0}) (memberUid={1}))";
|
||||
}
|
||||
|
||||
authenticationManager(ProviderManager) {
|
||||
|
|
@ -82,4 +83,4 @@ authenticationManager(ProviderManager) {
|
|||
key = "anonymous"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue