Article - CS46189

"LDAP error code 49" error message in Methodserver log file in Windchill PDMLink

Modified: 22-Jul-2026   


Applies To

  • FlexPLM 12.0 to 12.1
  • Windchill PDMLink 10.0 to 13.1

Description

  • LDAP error code 49 can occur in different situations:
  • After the path to authentication user with Active Directory has been changed, the user got the below error message
LDAP error code 49 (wrong username/password)
  • When adding a user to a role, the following exception is issued:
javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
  • After updating the password incorrectly, Windchill fails to start with
javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]

OR

javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C8, comment: AcceptSecurityContext error, data 52e, v2580 ]
  • Unable to log in to the Windchill using AD users
  • UpgradeManager fails at Update Container Templates. MethodServer fails to start with the error:
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 Method Server fails to start with the error:
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
  • After changing the bind of the user in the Active Directory Method Server not starting
  • After performing rehost corp LDAP users unable to login to windchill
This is a printer-friendly version of Article 46189 and may be out of date. For the latest version click CS46189