Chapter 6. Command-Line Utilities
274
dbscan -r -f /var/lib/dirsrv/slapd-
instance_name
/db/userRoot/
vlv#bymccoupeopledcpeopledccom.db4
Example 6.12. Displaying VLV Index File Contents
dbscan -f /var/lib/dirsrv/slapd-
instance_name
/changelogdb/c1a2fc02-1d11b2-8018afa7-
fdce000_424c8a000f00.db4
Example 6.13. Displaying the Changelog File Contents
dbscan -R -f /var/lib/dirsrv/slapd-
instance_name
/db/userRoot/uid.db4
Example 6.14. Dumping the Index File uid.db4 with Raw Mode
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.15. Displaying the entryID with the Common Name Key "=hr managers"
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
Example 6.16. Displaying an Entry with the entry ID of 7
Summary of Contents for 8.1
Page 8: ...viii ...
Page 14: ...xiv ...
Page 16: ...2 ...
Page 250: ...236 ...
Page 334: ...320 ...
Page 372: ...358 ...