Running the synchronizeUserInformation script with operationType='DELETE_NONEXISTENT_USERS' includes valid groups that exist in the external LDAP (Doc ID 1986169.1)

Last updated on JULY 16, 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 valid groups that exist in the external LDAP.
This causes the script to delete valid data from the groups from the webcenter portal tables.

 

Steps To Reproduce:
The issue can be reproduced at will with the following steps.

  1. Create 2 groups in the LDAP associated to WebCenter Portal.
    e.g.: 
    Groups: testgroup1, testgroup2  
  2. Create a Portal.
    e.g.: Portal1  
  3. Give grants in the Portal to the LDAP groups.
    e.g.:
     
    testgroup1 - Participant
    testgroup2 - Moderator  
  4. Run the synchronizeUserInformation script with operationType set to 'DELETE_NONEXISTENT_USERS'.
     
     
    •  Connect to the WebCenter server.
       
    • Create a directory to save the properties file generated by the synchronizeUserInformation 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='DELETE_NONEXISTENT_USERS' .
      e.g.:

       
      The above is wrong.
      Those are valid groups and should not be listed as users not present in the identity store.

 

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