1DBGEN.PL(1) General Commands Manual DBGEN.PL(1)
2
3
4
6 dbgen.pl - Random LDIF database creator
7
9 dbgen.pl [OPTIONS] -o output_file -n number
10
12 Random LDIF database creator. Used to generate large LDIF files for
13 use in testing the Directory Server.
14
16 A summary of options is included below:
17
18 -v Verbose output
19
20 -q Quiet output
21
22 -s suffix
23 LDAP suffix. Default is 'dc=example,dc=com'
24
25 -c CN naming style
26 Naming style for RDN's. Default is UID
27
28 -O organizationalPersons
29 Organizationalpersons objectClass. Default is inetOrgPerson.
30
31 -p piranha style ACI
32 Piranha style aci. Default is barracua
33
34 -r seed
35 Seed number for random number generator
36
37 -g Print extra entries for orgchart
38
39 -x Suppress printing of the preamble
40
41 -y Suppress printing of Organizational Units
42
43 -l Location of directory containing data files, default is
44 /usr/share/dirsrv/data
45
46 -n number
47 Number of entries to be generated
48
49 -b number
50 Beginning number for RDN e.g. uid=1 (ending number is -n value +
51 beginning number)
52
53 -j number
54 0 pad numbers used in RDN to this many digits e.g. with 4 1
55 becomes 0001 (ignored unless -b number is specified)
56
57 -u Add groups containing uniquemembers; generate a group for every
58 100 user entries created that contains the 100 members
59
61 dbgen.pl was written by the 389 Project.
62
64 Report bugs to https://pagure.io/389-ds-base/new_issue
65
67 Copyright © 2001 Sun Microsystems, Inc. Used by permission.
68 Copyright © 2017 Red Hat, Inc.
69 This manual page was written by Michele Baldessari
70 <michele@pupazzo.org>, for the Debian project (but may be used by oth‐
71 ers).
72 This is free software. You may redistribute copies of it under the
73 terms of the Directory Server license found in the LICENSE file of this
74 software distribution. This license is essentially the GNU General
75 Public License version 2 with an exception for plug‐in distribution.
76
77
78
79 March 31, 2017 DBGEN.PL(1)