Red Hat 8.1 User Manual

Page 206

Advertising
background image

Example 6.13. Displaying the Changelog File Contents

dbscan -f /var/lib/dirsrv/slapd-instance_name/changelogdb/c1a2fc02-1d11b2-
8018afa7-fdce000_424c8a000f00.db4

Example 6.14 . Dumping the Index File uid.db4 with Raw Mode

dbscan -R -f /var/lib/dirsrv/slapd-instance_name/db/userRoot/uid.db4

Example 6.15. Displaying the entryID with the Common Name Key "=hr managers"

In this example, the common name key is =hr managers, and the equals sign (=) means the key is
an equality index.

dbscan -k "=hr managers" -r -f
/var/lib/dirsrv/slapd-instance_name/db/userRoot/cn.db4 =hr%20managers 7

Example 6.16. Displaying an Entry with the entry ID of 7

dbscan -K 7 -f id2entry.db4 id 7 dn: cn=HR Managers,ou=groups,dc=example,dc=com
objectClass: top
objectClass: groupOfUniqueNames
cn: HR Manager
ou: groups
description: People who can manage HR entries
creatorsName: cn=directory manager
modifiersName: cn=directory manager
createTimestamp: 20050408230424Z
modifyTimestamp: 20050408230424Z
nsUniqueId: 8b465f73-1dd211b2-807fd340-d7f40000 parentid: 3
entryid: 7
entrydn: cn=hr managers,ou=groups,dc=example,dc=com

206

Chapter 6. Command-Line Utilities

Advertising