The Error 'Invalid Username or Password' Occurs When Authenticating using LDAP with P6 Web Services
(Doc ID 2203478.1)
Last updated on OCTOBER 15, 2024
Applies to:
Primavera Gateway - Version 14.2 and laterPrimavera Web Services - Version 15.1.0.0 and later
All Platforms
Symptoms
When P6 Web Services is configured for LDAP Authentication, one of the following errors occur when testing the P6 Provider connection. Login may succeed when using P6 Professional/Project Management.
ERRORS
-----------------------
- 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
URL=ldap://<host>:<port>
Security=
AuthenticationMode=
Chase Referrals=1
User Key=uid
javax.naming.NamingException: LDAP response read timed out, timeout used:-1ms.
Note: Prior to Primavera Gateway 16.2, the P6 Provider used the P6Adapter to connect to the P6 database. The P6 Provider used with Primavera Gateway 16.2 and higher uses P6 Web Services to connect to P6. For older versions of P6 that reference the P6Adapter, the same steps in this document can be applied.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Cause 1: Blank LDAP Username |
Cause 2: Invalid Base Directory Node |
Cause 3: P6 Web Services has not been restarted |
Cause 4: LDAP is configured for SSL and the P6 Configuration is not setup correctly |
Solution |