P6 Web Services Error 'Invalid Username or Password' Occurs When Authentication is Set to LDAP or WebSSO

(Doc ID 1564446.1)

Last updated on SEPTEMBER 08, 2017

Applies to:

Primavera Web Services - Version 7.0 SP1 and later
All Platforms


When P6 Web Services is configured for LDAP or WebSSO Authentication, one of the following errors occur when running Web Services. Login may succeed when using P6 Professional/Project Management client.

com.primavera.common.exceptions.InvalidCredentialsException: Invalid user name and/or password
A server exception occured while trying to perform username token authentication: Invalid user name and/or password.
Invalid user name and/or password
While trying to ping LDAP server failed to get initial directory context
Chase Referrals=1
User Key=uid
javax.naming.NamingException: LDAP response read timed out, timeout used:-1ms.
 [LDAPServiceImpl] ERROR 19:04:05,276 GMT: While trying to ping LDAP server failed to get initial directory context
URL=ldap://<LDAP SERVER>:389
Chase Referrals=0
User Key=uid
javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
        at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3135)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3081)





Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms