首页
学习
活动
专区
圈层
工具
发布

CAS 4.1与
EN

Stack Overflow用户
提问于 2015-11-26 18:56:04
回答 1查看 1.3K关注 0票数 1

我用构建了CAS v4.1.2,并将其部署到本地计算机上的tomcat 8中。但是,当我尝试登录时,我会得到一个错误,并有下一个堆栈跟踪:

代码语言:javascript
复制
    2015-11-26 23:45:48,071 DEBUG [org.jasig.cas.authentication.LdapAuthenticationHandler] - Attempting LDAP authentication for maksimov+password
2015-11-26 23:45:48,081 DEBUG [org.jasig.cas.authentication.LdapAuthenticationHandler] - LDAP response: [org.ldaptive.auth.AuthenticationResponse@588271304::authenticationResultCode=DN_RESOLUTION_FAILURE, ldapEntry=null, accountState=null, result=false, resultCode=null, message=DN cannot be null, controls=null]
2015-11-26 23:45:48,085 INFO [org.jasig.cas.authentication.PolicyBasedAuthenticationManager] - LdapAuthenticationHandler failed authenticating maksimov+password
2015-11-26 23:45:48,091 DEBUG [org.jasig.cas.authentication.PolicyBasedAuthenticationManager] - LdapAuthenticationHandler exception details: maksimov not found.
2015-11-26 23:45:48,095 DEBUG [org.jasig.cas.audit.spi.TicketOrCredentialPrincipalResolver] - Resolving argument [UsernamePasswordCredential] for audit
2015-11-26 23:45:48,100 INFO [org.jasig.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - Audit trail record BEGIN
=============================================================
WHO: maksimov+password
WHAT: supplied credentials: [maksimov+password]
ACTION: AUTHENTICATION_FAILED
APPLICATION: CAS
WHEN: Thu Nov 26 23:45:48 YEKT 2015
CLIENT IP ADDRESS: 0:0:0:0:0:0:0:1
SERVER IP ADDRESS: 0:0:0:0:0:0:0:1
=============================================================

deployerConfigContext.xml

http://pastebin.com/ThYqfv62

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-11-27 06:50:28

通过将搜索过滤器设置为sAMAccountName={user}解决了问题。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/33945395

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档