My Oracle Support Banner

ODSEE 11g: Queries on entrycmp (Doc ID 2474913.1)

Last updated on AUGUST 18, 2021

Applies to:

Oracle Directory Server Enterprise Edition - Version 5.2 and later
Information in this document applies to any platform.

Goal

Having both ODSEE and DSEE 5.2 Directories in the environment

<HOSTNAME1> and <HOSTNAME2> are ODSEE 11.1.1.7
<HOSTNAME3> is DSEE 5.2

Running entrycmp from ODSEE 11.1.1.7 (<HOSTNAME2>)

$ ./entrycmp -D "cn=<DS_ADMIN>" -w <PASSWORD> -s <HOSTNAME3>:<PORT> -c <HOSTNAME2>:<PORT> "uid=<UID>,dc=<SUFFIX_DN>"
entrycmp: <HOSTNAME2>:<PORT> - different values for entryid.
$ ./entrycmp -D "cn=<DS_ADMIN>" -w <PASSWORD> -c <HOSTNAME3>:<PORT> -s <HOSTNAME2>:<PORT> "uid=<UID>,dc=<SUFFIX_DN>"
entrycmp: <HOSTNAME3>:<PORT> - different values for entryid.


$ ./entrycmp -D "cn=<DS_ADMIN>" -w <PASSWORD> -c <HOSTNAME1>:<PORT> -s <HOSTNAME2>:<PORT> "uid=<UID>,dc=<SUFFIX_DN>"
entrycmp: <HOSTNAME1>:<PORT> - entries match.
$ ./entrycmp -D "cn=<DS_ADMIN>" -w <PASSWORD> -s <HOSTNAME1>:<PORT> -c <HOSTNAME2>:<PORT> "uid=<UID>,dc=<SUFFIX_DN>"
entrycmp: <HOSTNAME2>:<PORT> - entries match.

Running entrycmp from DSEE 5.2  (<HOSTNAME3>)


# entrycmp -D "cn=<DS_ADMIN>" -w <PASSWORD> -s <HOSTNAME3>:<PORT> -c <HOSTNAME2>:<PORT> "uid=<UID>,dc=<SUFFIX_DN>"
entrycmp: <HOSTNAME2>:<PORT> - different values for entryid.
# entrycmp -D "cn=<DS_ADMIN>" -w <PASSWORD> -c <HOSTNAME3>:<PORT> -s <HOSTNAME2>:<PORT> "uid=<UID>,dc=<SUFFIX_DN>"
entrycmp: <HOSTNAME3>:<PORT> - different values for entryid.


# entrycmp -D "cn=<DS_ADMIN>" -w <PASSWORD> -c <HOSTNAME1>:<PORT> -s <HOSTNAME2>:<PORT> "uid=<UID>,dc=<SUFFIX_DN>"
entrycmp: <HOSTNAME1>:<PORT> - entries match.
# entrycmp -D "cn=<DS_ADMIN>" -w <PASSWORD> -s <HOSTNAME1>:<PORT> -c <HOSTNAME2>:<PORT> "uid=<UID>,dc=<SUFFIX_DN>"
entrycmp: <HOSTNAME2>:<PORT> - entries match.

Question 1: Entrycmp reports differences between DSEE and ODSEE directories, even through comparing entry shows there are no differences.
Question 2: No, there are no switches in the command to exclude an attribute while doing a comparison.

 

 

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.