Scroll to navigation

DBGEN.PL(1) General Commands Manual DBGEN.PL(1)

NAME - Random LDIF database creator

SYNOPSIS [OPTIONS] -o output_file -n number


Random LDIF database creator. Used to generate large LDIF files for use in testing the Directory Server.


A summary of options is included below:

Verbose output
Quiet output
LDAP suffix. Default is 'dc=example,dc=com'
Naming style for RDN's. Default is UID
Organizationalpersons objectClass. Default is inetOrgPerson.
Piranha style aci. Default is barracua
Seed number for random number generator
Print extra entries for orgchart
Suppress printing of the preamble
Suppress printing of Organizational Units
Location of directory containing data files, default is /usr/share/dirsrv/data
Number of entries to be generated
Beginning number for RDN e.g. uid=1 (ending number is -n value + beginning number)
0 pad numbers used in RDN to this many digits e.g. with 4 1 becomes 0001 (ignored unless -b number is specified)
Add groups containing uniquemembers; generate a group for every 100 user entries created that contains the 100 members

AUTHOR 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