Table 6.22. ldif options, Note, Dbscan – Red Hat 8.1 User Manual

Page 204: Syntax, Options, Table 6.23. common options, Table 6.24. entry file options

Advertising
background image

Table 6.22. ldif Options

Option

Description

-b

Specifies that the ldif utility should interpret the
entire input as a single binary value. If -b is not
present, each line is considered to be a separate
input value.
As an alternative to the -b option, use the :<
URL specifier notation. For example:

jpegphoto:< file:///tmp/myphoto.jpg

Although the official notation requires three ///,
the use of one / is accepted.

NOTE

The :< URL specifier notation only works
if LDIF statement is version 1 or later,
meaning version: 1 is inserted in the
LDIF file. Otherwise, the file URL is
appended as the attribute value rather
than the contents of the file.

6.9. dbscan

The dbscan tool analyzes and extracts information from a Directory Server database file. See

Section 4.4, “Database Files”

for more information on database files.

Database files use the .db2, .db3, and .db4 extensions in their filename, depending on the version of
Directory Server.

Syntax
Options

Syntax

dbscan -f filename [ options ]

Options

Table 6.23. Common Options

Option

Parameter

Description

-f

filename

Specifies the name of the
database file, the contents of
which are to be analyzed and
extracted. This option is
required.

-R

Dump the database as raw data.

-t

size

Specifies the entry truncate size
(in bytes).

NOTE

The options listed in

Table 6.24, “Entry File Options”

are meaningful only when the database file

is id2entry.db4.

Table 6.24 . Entry File Options

Option

Parameter

Description

-K

entry_id

Specifies the entry to ID to look
up.

204

Chapter 6. Command-Line Utilities

Advertising