提交 6be5275e 编写于 作者: K Kevin Connor

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 8feb91bb.
上级 3ff20f44
...@@ -64,7 +64,7 @@ bindAuthenticator(BindAuthenticator2,initialDirContextFactory) { ...@@ -64,7 +64,7 @@ bindAuthenticator(BindAuthenticator2,initialDirContextFactory) {
authoritiesPopulator(AuthoritiesPopulatorImpl, initialDirContextFactory, instance.groupSearchBase) { authoritiesPopulator(AuthoritiesPopulatorImpl, initialDirContextFactory, instance.groupSearchBase) {
// see DefaultLdapAuthoritiesPopulator for other possible configurations // see DefaultLdapAuthoritiesPopulator for other possible configurations
searchSubtree = true; searchSubtree = true;
groupSearchFilter = "(| (member={0}) (uniqueMember={0}) (memberUid={0}))"; groupSearchFilter = "(| (member={0}) (uniqueMember={0}) (memberUid={1}))";
} }
authenticationManager(ProviderManager) { authenticationManager(ProviderManager) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册