My Oracle Support Banner

Running the synchronizeUserInformation script with operationType='DELETE_NONEXISTENT_USERS' includes weblogic user from embeded LDAP (Doc ID 1986155.1)

Last updated on MARCH 10, 2015

Applies to:

Oracle WebCenter Portal - Version 11.1.1.8.0 to 11.1.1.8.6 [Release 11g]
Information in this document applies to any platform.

Symptoms

Running the synchronizeUserInformation script with operationType='DELETE_NONEXISTENT_USERS', it includes the weblogic user from the embeded LDAP when WebCenter Portal is configured with an external LDAP.

Expected Behavior
Expect the script not to include groups.

Steps To reproduce:

The issue can be reproduced at will with the following steps.

  1. Run the synchronizeUserInformation script with operationType to 'LIST_NONEXISTENT_USERS'.
     
    • Connect to the WebCenter server.
    • Create a directory to save the properties file generated by the snchronizeUserInformation script.
    • Set the ORACLE_HOME to the Webcenter Home.
      For example, in my case:
      export ORACLE_HOME=/refresh/oracle/fmw11g/Oracle_WC1
    • Navigate to the <webcenter Home>/common/bin directory.
      e.g:
      cd $ORACLE_HOME/common/bin
    • Start the WebLogic Scripting Tool (WLST):
      ./wlst.sh
    • Connect to the Admin Server:
      e.g.:
      connect()
    • Run the synchronizeUserInformation script with operationType='LIST_NONEXISTENT_USERS' .
      e.g.:
       
      synchronizeUserInformation(appName='webcenter',
                operationType='LIST_NONEXISTENT_USERS',
                fileName='/refresh/oracle/testcases/chkpolicy/delete.properties',
                component='ALL',
                dbVendor='Oracle',
                dbHostNPort='fmw11g.vm.oracle.com:1521',
                dbName='orcl01',
                dbSchemaName='dev_webcenter',
                verbose='true')
        
    • Provide the password for webcenter schema.
      e.g.:
         Enter the database password for the user [dev_webcenter]
         welcome1
       

      This should generate a delete.properties file:
         File containing users not present in Identity Store is created successfully at :
         /refresh/oracle/testcases/chkpolicy/delete.properties

       
  2. Review the delete.properties file.
    It shows the weblogic user not present in the Identity Store:
    e.g.:
     
    $ cd /refresh/oracle/testcases/chkpolicy
    $ cat delete.properties
    weblogic
     
    The above is wrong.
    We should not delete the weblogic user from embedded LDAP as the user can be used for other administration task in the domain.

 

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
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.