OIDDAS Gives error "Error encountered while connecting to Directory Server" after Login (Doc ID 603024.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Internet Directory - Version 10.1.2 to 11.1.1 [Release 10gR2 to 11g]
Oracle Application Server Single Sign-On - Version 10.1.2.0.2 to 10.1.4.3 [Release 10gR2 to 10gR3]
Information in this document applies to any platform.

Symptoms

OID/SSO versions 10.1.2 - 10.1.4

Also, applicable for 10.1.4.3 SSO integrated with 11g OID

After login to OIDDAS, click on any tab gives the following error:
"Error encountered while connecting to Directory Server"

Error happens with "orcladmin" user as well

OID trace (with debuglevel 8192) showed the following in the oidldapd log

08:31:24 * gslfacVGetNearestACP:Parsing the node orclapplicationcommonname=dasapp,cn=das,cn=products,cn=oraclecontext
08:31:24 * gslfacZEvaluate_Entry:Operation id:(1) Entry DN: (orclapplicationcommonname=dasapp,cn=das,cn=products,cn=oraclecontext)
08:31:24 * gslfacZEvaluate_Entry: Operation id:(1) User DN: (orclapplicationcommonname=infra_1.mypc.us.oracle.com,cn=ias instances,cn=ias,
cn=products,cn=oraclecontext)
08:31:24 * gslfacZEvaluate_Entry:Op id:(1) Visiting ACP at: (orclapplicationcommonname=dasapp,cn=das,cn=products,cn=oraclecontext)
08:31:24 * gslfacZEvaluate_Entry:Operation id:(1) Access to Entry (orclApplicationCommonName=DASApp, cn=DAS, cn=Products,cn=OracleContext) not
allowed by ACP at: (orclapplicationcommonname=dasapp,cn=das,cn=products,cn=oraclecontext)


Another symptom for the same error :

OC4J_SECURITY log shows the error "LDAP: error code 48 - Insufficient access to do Proxy Switch"

The stack trace would be of the following kind :

[warning] cannot open connection, type=*
oracle.idm.connection.ConnectionException: cannot open ldap context, serialNumber=1, type=ldap, operation=open
at oracle.idm.connection.ldap.LdapConnectionManager.openConnection(LdapConnectionManager.java:130)
.............
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)
at java.lang.Thread.run(Thread.java:534)
Caused by: javax.naming.NamingException: Unable to connect to Oracle Internet Directory Server. Please verify that the correct Oracle Internet Directory Server parameters are specified in /product/asoiddas/app/orasso/product/10.1.4/config/ias.properties. Make sure that the Oracle Internet Directory Server specified in OIDhost, OIDsslport is up and running. Base Exception : javax.naming.AuthenticationNotSupportedException: [LDAP: error code 48 - Insufficient access to do Proxy Switch] [Root exception is oracle.ias.repository.schema.SchemaException: Unable to connect to Oracle Internet Directory Server. Please verify that the correct Oracle Internet Directory Server parameters are specified in /product/asoiddas/app/orasso/product/10.1.4/config/ias.properties. Make sure that the Oracle Internet Directory Server specified in OIDhost, OIDsslport is up and running. Base Exception : javax.naming.AuthenticationNotSupportedException: [LDAP: error code 48 - Insufficient access to do Proxy Switch]]
at oracle.ldap.das.dmvc.application.connection.ProductionLdapContextManager.openLdapContext(ProductionLdapContextManager.java:83)
at oracle.idm.connection.ldap.LdapConnectionManager.openConnection(LdapConnectionManager.java:123)
... 26 more
Caused by: oracle.ias.repository.schema.SchemaException: Unable to connect to Oracle Internet Directory Server. Please verify that the correct Oracle Internet Directory Server parameters are specified in /product/asoiddas/app/orasso/product/10.1.4/config/ias.properties. Make sure that the Oracle Internet Directory Server specified in OIDhost, OIDsslport is up and running. Base Exception : javax.naming.AuthenticationNotSupportedException: [LDAP: error code 48 - Insufficient access to do Proxy Switch]
at oracle.ias.repository.IASSchema.connectAsSSL(IASSchema.java:2243)
at oracle.ias.repository.IASSchema.connectAsSSL(IASSchema.java:2151)
at oracle.ias.repository.IASSchema.connectAs(IASSchema.java:2139)
at oracle.ias.repository.SchemaManager.connectAs(SchemaManager.java:1386)
at oracle.ldap.das.dmvc.application.connection.ProductionLdapContextManager.openLdapContext(ProductionLdapContextManager.java:78)
... 27 more

Cause

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