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 AUGUST 25, 2020

Applies to:

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


There is an ldif file with example below UIDs,

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=<TEST_1>_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.


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

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