This discussion is archived
3 Replies Latest reply: Oct 17, 2013 7:43 AM by user13498821 RSS

cn=changelog , view "changes" attribute value

f4a39eb8-900e-41b4-a323-8c130cd5ccce Newbie
Currently Being Moderated

Hi,

 

I am using the following command to pull up changelog entries, however I am wondering how we can view "changes" attribute value, to me it appears to be encrypted/binary. I am able to view it via softerra browser, but I would like to do it via command line  Also, I would like to capture and process the change. Is there any tool to perform that?

# ldapsearch -T -h localhost -p 10636 -Z -P ../../alias/slapd-cert8.db -D "cn=Directory Manager" -j ~/dirt -b cn=changelog -s sub "(changenumber=1)"

version: 1

dn: changenumber=1,cn=changelog

objectClass: top

objectClass: changelogentry

targetDn: uid=scarter, ou=People, dc=example,dc=com

changeTime: 20131004111916Z

changeType: modify

changes:: cmVwbGFjZTogbWFpbAptYWlsOiB0ZXN0LWxvZ0BleGFtcGxlLmNvbQotCnJlcGxhY2U6IG1vZGlmaWVyc25hbWUKbW9kaWZpZXJzbmFtZTogY249ZGlyZWN0b3J5IG1hbmFnZXIKLQpyZXBsYWNlOiBtb2RpZnl0aW1lc3RhbXAKbW9kaWZ5dGltZXN0YW1wOiAyMDEzMTAwNDExMTkxNloKLQoA

changeNumber: 1

 

Thanks.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points