Scroll to navigation

DBSCAN(1) General Commands Manual DBSCAN(1)


dbscan - scans a Directory Server database index file and dumps the contents


dbscan -f <filename> [-R] [-t <size>] [-K <entry_id>] [-k <key>] [-l <size>] [-G <n>] [-n] [-r] [-s]


Scans a Directory Server database index file and dumps the contents.


A summary of options is included below:

specify db file
dump as raw data
entry truncate size (bytes)
entry file options:
lookup only a specific entry id index file options:
lookup only a specific key
max length of dumped id list (default 4096; 40 bytes <= size <= 1048576 bytes)
only display index entries with more than <n> ids
display ID list lengths
display the contents of ID list
Summary of index counts


Sample usages:

dbscan -f id2entry.db4
dbscan -f cn.db4
dbscan -r -f mail.db4
dbscan -r -G 20 -f sn.db4
dbscan -f objectclass.db4


dbscan was written by the 389 Project.


Report bugs to


Copyright © 2001 Sun Microsystems, Inc. Used by permission.
Copyright © 2017 Red Hat, Inc.
This manual page was written by Michele Baldessari <>, for the Debian project (but may be used by others).
This is free software. You may redistribute copies of it under the terms of the Directory Server license found in the LICENSE file of this software distribution. This license is essentially the GNU General Public License version 2 with an exception for plug-in distribution.

March 31, 2017