My Oracle Support Banner

OUD11g - How to Retrieve the User and Operational Attributes for the UIDs Stored in a File? (Doc ID 2345144.1)

Last updated on JANUARY 08, 2018

Applies to:

Oracle Unified Directory - Version 11.1.2.1.0 to 11.1.2.3.170718 [Release 11g]
Information in this document applies to any platform.

Goal

There is an ldif file (input_olb.ldif) , it has below UIDs,
uid=test1_CONSUMER
uid=test2_CONSUMER

There is requirement to export only those entries that match the UIDs mentioned in the above file .

For single UID, below command works,
$ export-ldif --includeFilter "(uid=test1_CONSUMER)" --backendID userRoot \ --ldifFile export.ldif

How to make this work for multiple UIDs stored in an ldif/txt file ?

Requirement is also to include the 'operational attributes' and also exclude the specific 'user and operational' attributes from the export file.
 

Solution

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


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