has the "ldap.password" been hashed? If not, please follow the "Configure
LDAP server info" step in
https://kylin.apache.org/docs15/howto/howto_ldap_and_sso.html

2016-06-12 10:37 GMT+08:00 Jasee Tao <[email protected]>:

> 我的ldap配置如下:
> ldap.server=ldap://ldap.my.com
> ldap.username=cn=username,dc=my,dc=com
> ldap.password=aes_passwd
>
> ldap.user.searchBase=ou=Accounts,dc=my,dc=com
> ldap.user.searchPattern=(uid={0})
>
> LDAP目录结构如下:
> uid=user,ou=city,ou=Account,dc=my,dc=com
>
> 不过日志里一直显示:
> [localhost-startStop-1] search.FilterBasedLdapUserSearch:89 : SearchBase
> not set. Searches will be performed from the root:
>
> 尝试登陆时,也报错:
> org.springframework.security.authentication.InternalAuthenticationServiceException:
> Empty filter; nested exception is
> javax.naming.directory.InvalidSearchFilterException: Empty filter;
> remaining name '/'
>
> 请帮忙看看我的配置是否有问题?
>



-- 
Best regards,

Shaofeng Shi

Reply via email to