Table 7.2 2. db2ldif.pl Opt ions
Option Description
-1 Deletes, for reasons of backward compatibility,
the first line of the LDIF file that gives the version
of the LDIF standard.
-a outputFile Gives the filename of the output LDIF file.
-C Uses only the main database file.
-D rootdn Gives the user DN with root permissions, such
as Directory Manager.
-E Decrypts encrypted data during export. This
option is used only if database encryption is
enabled.
-j filename T he name of the file containing the password.
-m Sets minimal base-64 encoding.
-M Uses multiple files for storing the output LDIF, with
each instance stored in instance filename (where
filename is the filename specified for -a option).
-n backendInstance Gives the instance to be exported.
-N Suppresses printing sequential numbers.
-r Exports the information required to initialize a
replica when the LDIF is imported.
The LDIF file which is created with db2ldif.pl
can be imported using ldif2db.pl. When it is
imported, if the -r option was used, than the
database is automatically initialized as a replica.
See Section 7.4.7, “ldif2db.pl (Import)” for
information on importing an LDIF file.
-s includeSuffix Gives suffixes to be included or the subtrees to
be included if -n has been used.
-u Requests that the unique ID is not exported.
-U Requests that the output LDIF is not folded.
-v Verbose mode.
-w password Gives the password associated with the user DN.
-w - Prompts for the password associated with the
user DN.
-x excludeSuffix Gives suffixes to be excluded.
7.4 .6 . fixup-memberof.pl (Regenerate memberOf Att ributes)
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.
Synta x
fixup-mem berof.pl -D rootdn { -w password | -w - | -j filename } -b baseDN [ -f filter ] [ -v ]
Options
Kommentare zu diesen Handbüchern