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:
Kevin Connor 2011-06-20 13:09:38 -07:00
parent d1b2c88721
commit cd03d2c490

View file

@ -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) {