IBM Support

"SECJ0270E: ... LDAP: error code 49" during startup

Troubleshooting


Problem

The credentials used by WebSphere Application Server to bind to the LDAP are invalid.

Symptom

SystemOut.log contains:

... ContextManage E   SECJ0270E: Failed to get actual credentials. The exception is javax.naming.AuthenticationException: [LDAP: error code 49 - LDAP Error 49 : [LDAP: error code 49 - Invalid Credentials]]
 at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3000)
...
 at
com.ibm.ws.security.registry.ldap.LdapRegistryImpl.authenticate(LdapRegistryImpl.java:433)
 at
com.ibm.ws.security.registry.ldap.LdapRegistryImpl.checkPassword(LdapRegistryImpl.java:327)
 at
com.ibm.ws.security.registry.UserRegistryImpl.checkPassword(UserRegistryImpl.java:309)
 at
com.ibm.ws.security.ltpa.LTPAServerObject.authenticate(LTPAServerObject.java:775)
 at
com.ibm.ws.security.server.lm.ltpaLoginModule.login(ltpaLoginModule.java:453)

Resolving The Problem

Update these credentials by following the InfoCenter's instructions changing the LDAP bind password for a standalone LDAP user registry.

Related Information

[{"Product":{"code":"SSHRKX","label":"WebSphere Portal"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"}],"Version":"6.1","Edition":"","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
03 December 2021

UID

swg21396242