HP-UX Directory Server 8.1 configuration, command, and file reference

db2ldif.pl [ -v] -D rootdn { -w password | -w - | -j filename } { -nbackendInstance |
-s includeSuffix ... } [ -x excludeSuffix ... ] [ -a outputFile] [ -N ] [ -r ] [ -C ] [ -u ] [ -U ]
[ -m ] [ -E ] [ -1 ] [ M ]
Options To run this script, the server must be running, and either the -n or -s option is required.
Table 7-22 db2ldif.pl options
DescriptionOption
Deletes, for reasons of backward compatibility, the first line of the LDIF file that gives the
version of the LDIF standard.
-1
Gives the file name of the output LDIF file.
-a outputFile
Uses only the main database file.-C
Gives the user DN with root permissions, such as Directory Manager.-D rootdn
Sets minimal base-64 encoding.-m
Gives the instance to be exported.-n
backendInstance
Uses multiple files for storing the output LDIF, with each instance stored in instance
filename (where filename is the file name specified for -a option).
-M
Suppresses printing sequential numbers.-N
Sets the output LDIF to be stored in one file by default with each instance stored in
instance_filename.
-o
Exports the information required to initialize a replica when the LDIF is imported.
The LDIF file, which is created with the db2ldif.pl script, can be imported using the
ldif2db.pl script. When it is imported, if the -r option was used, then the database is
automatically initialized as a replica.
See “ldif2db.pl (Import)” for information on importing an LDIF file.
-r
Gives suffixes to be included or the subtrees to be included if -n has been used.-s includeSuffix
Requests that the unique ID is not exported.-u
Requests that the output LDIF is not folded.-U
Verbose mode.-v
Gives the password associated with the user DN.
-w password
Gives suffixes to be excluded.
-x excludeSuffix
7.4.6 fixup-memberof.pl (Regenerate memberOf attributes)
Regenerates and updates memberOf on user entries to coordinate changes in group membership.
To run this script, the server must be running. The script creates an entry in the directory that
launches this dynamic task.
Syntax
fixup-memberof.pl -D rootdn { -w password | -w - | -j filename } -b baseDN [ -f filter
] [ -v ]
Options
7.4 Perl scripts 229