Synchronized User With Changed Name Unable To Login to Forms or DAS With SSO (Doc ID 451969.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Application Server Single Sign-On - Version 9.0.4 to 10.1.4 [Release 10gR1 to 10gR3]
Information in this document applies to any platform.
***Checked for relevance on 19-OCT-2015***

Symptoms

Oracle Internet Directory (OID) is synchronized with Active Directory (AD) so that AD domain users can login to Single Sign-On (SSO).

Oracle Forms is using SSO for authentication.

Most users can login to Forms without any problems, but when a user's name is changed in AD that user is then unable to login to Forms.

Error:

     FRM- 92050: Failed to connect to the Server:/forms90/90servlet:-1 error

     Details...
     Java Exception
     java.io.IOException: User does not have proper credentials configured in OID
         at oracle.forms.net.....


The Forms application log at <midtier_home>/opmn/logs/ OC4J~OC4J_BI_Forms~default_island~1 logfile shows the following:

oracle.ldap.util.NoSuchUserException: Error encountered when resolving user - DN = cn=<original user name>,<ldap user base> [LDAP: error code 32 - No Such Object]



Login to DAS (/oiddas) also fails for the user with error 'Authentication failed'. The debug ssoServer.log shows:

OID UtilException
oracle.ldap.util.AuthFailureException: Unable to authenticate user: cn=plain user,cn=Users,dc=uk,dc=oracle,dc=com [LDAP: error code 1 - - Operations Error]
   at oracle.ldap.util.User.authenticateUser(User.java:1280)
   at oracle.ldap.util.User.authenticateUser(User.java:1135)
   at oracle.security.sso.server.ldap.OIDUserRepository.authenticate(OIDUserRepository.java:899)
   at oracle.security.sso.server.auth.SSOServerAuth.authenticate(SSOServerAuth.java:556)
   at oracle.security.sso.server.auth.SSOX509CertAuth.authenticate(SSOX509CertAuth.java:316)
   at oracle.security.sso.server.ui.SSOLoginServlet.processSSOPartnerRequest(SSOLoginServlet.java:796)
   at oracle.security.sso.server.ui.SSOLoginServlet.doPost(SSOLoginServlet.java:328)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
   at oracle.security.jazn.oc4j.JAZNFilter$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
   at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
   at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:634)
   at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:338)
   at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:813)
   at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:218)
   at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:126)
   at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
   at java.lang.Thread.run(Thread.java:534)
Mon Jul 23 10:35:08 CEST 2007 [DEBUG] AJPRequestHandler-ApplicationServerThread-5 Util exception:AuthFailureException 
.....




Symptoms of problem

+ user could log into Forms successfully before the name change in AD
+ login to DAS as the same user also fails with 'Authentication Failed' error
+ restart of Forms Server does not resolve the issue
+ OID shows that the user DN has been successfully updated by synchronization
+ removing the user from OID and allowing synchronization to create it in OID again does not resolve the issue

.

Changes

Change of name in AD will normally require change of user entry DN in OID in synchronized environments, since OID bases the DN on the CN value. If the AD value mapped to the OID CN value changes in AD, a MODRDN operation must be performed in OID.

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