技术文章 - CS46189

Windchill PDMLink 中的“LDAP 错误代码 49”错误消息

已修改: 01-Jul-2025   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • FlexPLM 12.0 to 12.1
  • Windchill PDMLink 10.0 to 13.0

说明

  • LDAP 错误代码 49 可能在不同情况下发生:
  • 在身份验证用户路径更改后,与 Active Directory 集成的LDAP 错误代码 49出现以下错误消息
LDAP error code 49 (wrong username/password)
  • 当将用户添加到角色时,出现以下异常:
 javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
  • 错误更新密码后,Windchill 无法启动
javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]

或者

javax.naming.AuthenticationException: [ LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C8, comment: AcceptSecurityContext error, data 52e, v2580 ]
  • 无法使用 AD 用户登录 Windchill
  • 升级管理器在更新容器模板时失败。方法服务器启动失败,并出现以下错误:
 Unable to start all managers. (wt.services.servicesResource/21) wt.services.ManagerException: Unable to start manager: "wt.audit.AuditService" with implementation class: "wt.audit.StandardAuditService"
Nested exception is: wt.services.ManagerException: Could not initialize Auditing service.
Nested exception is: wt.org.OrganizationServicesIEException: javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
        at wt.org.LdapServices.queryPrincipalsFromLdap(LdapServices.java:1129)
        at wt.org.LdapServices.queryPrincipals(LdapServices.java:2472)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        
  • Windchill 方法服务器启动失败并出现以下错误:
 javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3154)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3100)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2886)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2800)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:319)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:192)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:210)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:153)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:83) After configuring Windchill to access external Active Directory unable to open/create/update users inParticipant Administration
2022-10-07_21-19-04.png
  • 更改 Active Directory 方法服务器中的用户绑定后,服务器无法启动
  • UpgradeManager加载 BAC 组和 BAC 策略访问控制规则失败
  • LDAP 错误代码 49显示在方法服务器日志中:
     [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090569, comment: AcceptSecurityContext error, data 52e, v4563
    方法服务器启动失败,错误LDAP 错误代码 49 重新托管后凭据无效
Nested exception is: wt.util.WTException: com.infoengine.exception.adapter.IEAdapterException; nested exception is:
javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
Nested exception is: com.infoengine.exception.adapter.IEAdapterException; nested exception is:
javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
    at com.infoengine.jndi.JNDIAdapterImpl.processRequest(JNDIAdapterImpl.java:254)
    at com.infoengine.procunit.adapter.Adapter.send(Adapter.java:199)
    at com.infoengine.SAK.ObjectWebject.invoke(ObjectWebject.java:262)
    at com.infoengine.compiledTasks.file.opt.ptc.Windchill_10$2e2.Windchill.tasks.wt.federation.queryprincipals$2exml.invoke(queryprincipals$2exml.java:100)
 
                                  OR
 
ERROR [main] wt.method.server.startup.services  - Failure to start manager wt.workflow.engine.StandardWfEngineService
wt.services.ManagerException: Couldn't initialize workflow engine.
Nested exception is: wt.org.OrganizationServicesIEException: javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials ]
at wt.org.LdapServices.queryParentsFromLdap(LdapServices.java:519)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
这是文章 46189 的 PDF 版本,可能已过期。最新版本 CS46189