mirror of
https://github.com/nicolabs/ldap-plugin.git
synced 2025-09-07 05:14:24 +02:00
Revert "change ldap group lookup when using memberUid to match using name"
I had a misunderstanding of the values in {0} and {1}. Both are names. {1} is the shorter username rather than {0} which is the full ldap specifier. This reverts commit 8feb91bb2f6637783b9ffb051776e953b1c5e84c. Originally-Committed-As: 6be5275ef052c4d0475c3563a3d6053fde549070
This commit is contained in:
parent
d1b2c88721
commit
cd03d2c490
|
@ -64,7 +64,7 @@ bindAuthenticator(BindAuthenticator2,initialDirContextFactory) {
|
|||
authoritiesPopulator(AuthoritiesPopulatorImpl, initialDirContextFactory, instance.groupSearchBase) {
|
||||
// see DefaultLdapAuthoritiesPopulator for other possible configurations
|
||||
searchSubtree = true;
|
||||
groupSearchFilter = "(| (member={0}) (uniqueMember={0}) (memberUid={0}))";
|
||||
groupSearchFilter = "(| (member={0}) (uniqueMember={0}) (memberUid={1}))";
|
||||
}
|
||||
|
||||
authenticationManager(ProviderManager) {
|
||||
|
|
Loading…
Reference in a new issue