My Oracle Support Banner

OUD - Displaying Changelog Changes in PlainText From an 'ldapsearch' Output (Doc ID 1374140.1)

Last updated on AUGUST 13, 2020

Applies to:

Oracle Unified Directory - Version and later
Information in this document applies to any platform.
***Checked for relevance on 24-Sep-2013***


How to base64 decode the changes attribute value in the changelog to plain text

By default, the ldapsearch output for the changes attribute in cn=changelog is base64-encoded -

ldapsearch -p 2224 -D "cn=Directory Manager" -w secret12 --useSSL --trustAll -s base -b "changenumber=4,cn=changelog" objectclass=*

# Public changelog exchange control( dc=example,dc=com:000001336ebe53c1484900000004;
dn: changenumber=4,cn=changelog
targetuniqueid: 47c7be45-0ce53105-8ea8fc3c-39c47f91
objectClass: top
objectClass: changeLogEntry
changeTime: 20111104132206Z
targetDN: uid=user.10,ou=people,dc=example,dc=com
changenumber: 4
changeType: modify



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
 How to base64 decode the changes attribute value in the changelog to plain text
 To display attribute "changes" for changenumber=<xx>,cn=changelog
 Using ODSM
 Using the OUD base64 decode command
 Using openssl to decode a base64-encoded attribute
 Use the ldapsearch command with the -B option

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