Red Hat Directory Server 8.0 Configuration, Command, and File Reference

Example 6.6. User Already Authenticating by Kerberos Prompts for a New
Password
8. ldif
ldif automatically formats LDIF files and creates base-64 encoded attribute values. Base-64
encoding makes it possible to represent binary data, such as a JPEG image, in LDIF. Base-64
encoded data is represented using a double colon (::) symbol. For example:
jpegPhoto:: encoded data
In addition to binary data, other values that must be base-64 encoded can identified with other
symbols, including the following:
Any value that begins with a space.
Any value that begins with a single colon (:).
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
Options
Syntax.
The ldif command has the following format:
ldif [ -b ] [ attrtypes ] [ optional_options ]
Options.
Option Description
-b
Specifies that the ldif utility should interpret
the entire input as a single binary value. If -b
Chapter 6. Command-Line Utilities
234