My Oracle Support Banner

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 FEBRUARY 01, 2022

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.

NOTE: The following testcase represents a fictitious sample.  Any similarity to an actual Portal users,pages is purely coincidental and not intended in any manner.  

  1. Create 2 groups in the LDAP associated to WebCenter Portal.
    e.g.: 
    Groups: testgroup1, testgroup2  
  2. Create a Portal.
     
  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=/<FMWMIDDLEWARE-HOME>/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.

 

Changes

 

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
Changes
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.