我们已经在tomcat.its中配置了ldap设置,所有这些天都工作正常。但突然低于ldap错误。以下错误的含义是什么。
这是在tomcat配置文件中设置的ldap配置。
Jul 19, 2016 11:14:04 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Context/Realm} Setting property 'debug' to '99' did not find a matching property.
Jul 19, 2016 11:14:04 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Context/Realm} Setting property 'curUserPattern' to '%s@corp' did not find a matching property.
Jul 19, 2016 11:14:04 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Context/Realm} Setting property 'resourceName' to 'add_web_realm' did not find a matching property.
Jul 19, 2016 11:14:05 AM org.apache.catalina.core.ContainerBase addChildInternal
SEVERE: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/add-web]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [Realm[JNDIRealm]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5350)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 10 more
Caused by: org.apache.catalina.LifecycleException: Exception opening directory server connection
at org.apache.catalina.realm.JNDIRealm.startInternal(JNDIRealm.java:2191)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 12 more
Caused by: javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 775, v1db1^@]
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3087)
答案 0 :(得分:1)
您的问题的答案在于LDAP错误代码:
[LDAP:错误代码49 - 80090308:LdapErr:DSID-0C0903A9,评论: AcceptSecurityContext错误,数据775 ,v1db1 ^ @]
data 775
是重要的一部分。该十六进制代码转换为1909的十进制系统错误代码,这是一个Windows系统错误代码。记录在案here:
ERROR_ACCOUNT_LOCKED_OUT
1909 (0x775) The referenced account is currently locked out and may not be logged on to.
因此,您尝试使用的帐户似乎已被锁定。