dbscan
Chapter 7 Command-Line Utilities 251
jpegPhoto:: encoded data
In addition to binary data, other values that must be base-64 encoded include:
• Any value that begins with a semicolon (;) or a space.
• Any value that contains non-ASCII data, including newlines.
The
ldif
command-line utility will take any input and format it with the correct
line continuation and appropriate attribute information. The
ldif
utility also
senses whether the input requires base-64 encoding.
Syntax
When you use
ldif
, you must enter the command using the following format:
ldif [-b] [attrtypes] [optional_options]
Options
dbscan
The
dbscan
tool analyzes and extracts information from a Directory Server
database file; see “Database Files,” on page 203. Database files use the
.db2
,
.db3
,
and
.db4
extensions in their filename, depending on the version of Directory
Server.
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, you can you can use the :< URL specifier
notation, which is, in fact, simpler to use. For example:
jpegphoto:< file:///tmp/myphoto.jpg
Although the official notation requires three ///, the use of one / is tolerated.