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

Table 7-23 fixup-memberof.pl options
DescriptionOption
The DN of the subtree containing the entries to update.
-b baseDN
Gives the user DN with root permissions, such as Directory Manager. The default is the DN
of the Directory Manager, which is read from the nsslapd-root attribute under cn=config.
-D rootdn
An LDAP query filter to use to select the entries within the subtree to update. If there is no
filter set, then the memberOf attribute is regenerated for every entry in the subtree.
-f filter
The name of the file containing the password.
-j filename
Verbose mode.-v
The password associated with the user DN.
-w password
Prompts for the password associated with the user DN.-w -
7.4.7 ldif2db.pl (Import)
To run this script, the server must be running. The script creates an entry in the directory that
launches this dynamic task. The entry is generated based upon the values provided for each
option. Ellipses indicate that multiple occurrences are allowed.
Syntax
ldif2db.pl [ -v ] -D rootdn { -w password | -w - | -j filename } [{ -n backendInstance
} | -s includeSuffix ] [ -x excludeSuffix ] [ -O ] [ -c ] [ -g string ] [ -G namespaceId ] [
-i filename ] [ -E ]
Options
Table 7-24 ldif2db.pl options
DescriptionOption
Merges chunk size.-c
Specifies the user DN with root permissions, such as Directory Manager.-D rootdn
Decrypts encrypted data during export. This option is used only if database encryption is
enabled.
-E
Generates a unique ID. Type none for no unique ID to be generated and deterministic
for the generated unique ID to be name-based. By default, a time-based unique ID is
generated.
When using the deterministic generation to have a name-based unique ID, it is also
possible to specify the namespace for the server to use, as follows:
-g deterministic namespaceId
Where namespaceId is a string of characters in the format
00-xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx.
Use this option to import the same LDIF file into two different Directory Servers and the
contents of both directories should have the same set of unique IDs. If unique IDs already
exist in the LDIF file being imported, then the existing IDs are imported to the server,
regardless of the options specified.
-g string
Generates a namespace ID as a name-based unique ID. This is the same as specifying the
-g deterministic option.
-G namespaceId
Specifies the file name of the input LDIF files. When multiple files are imported, they are
imported in the order they are specified on the command line.
-i filename
Specifies the path, including the file name, to the file that contains the password associated
with the user DN.
-j filename
Specifies the instance to be imported.
-n backendInstance
230 Command-line scripts