ldifautomatically 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
- Any value that begins with a space.
- Any value that begins with a single colon (:).
- Any value that contains non-ASCII data, including newlines.
ldifcommand-line utility will take any input and format it with the correct line continuation and appropriate attribute information. The
ldifutility also senses whether the input requires base-64 encoding.
Table 9.2. ldif Options
Specifies that the
As an alternative to the
jpegphoto:< file:///tmp/myphoto.jpgAlthough the official notation requires three