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

Table 7-9 ldif2db options
DescriptionOption
Merges chunk size.-c
Encrypts data during import. 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
namespace_id
namespace_id 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
Gives the names of the input LDIF files. When multiple files are imported, they are imported
in the order they are specified on the command line.
-i ldifFile
Gives the instance to be imported. Ensure that the specified instance corresponds to the
suffix contained by the LDIF file; otherwise, the data contained by the database is deleted,
and the import fails.
-n backendInstance
Requests that only the core database is created, without attribute indexes.-O
Gives the suffixes to be included or to specify the subtrees to be included if -n has been
used.
-s includeSuffix
Gives the suffixes to be excluded.
-x excludeSuffix
7.3.8 ldif2ldap (Performs import operation over LDAP)
Performs an import operation over LDAP to the Directory Server. To run this script, the server
must be running.
Syntax
ldif2ldap [ -D rootdn] [ -w password] [-f filename]
Options
Table 7-10 ldif2ldap options
DescriptionOption
Gives a user DN with root permissions, such as Directory Manager.-D rootdn
Gives the name of the file to be imported. When importing multiple files, the files are imported in
the order they are specified on the command line.
-f filename
Gives the password associated with the user DN.
-w password
7.3.9 pwdhash (Prints encrypted passwords)
Prints the encrypted form of a password using one of the server's encryption algorithms. If a
user cannot log in, use this script to compare the user's password to the password stored in the
directory.
Syntax
7.3 Shell scripts 221