ldif

The ldif command converts arbitrary data to the LDAP Directory Interchange Format (LDIF). ldif reads data from standard input, converts it, and writes the corresponding LDIF output to standard output. The output is suitable for use as a line in an LDIF file.

By default, ldif considers its input a sequence of values, one value on each line, to be converted to values of the specified attribute. With the -b flag, ldif considers its input as a single raw binary value to be converted. This is useful when converting binary data such as a photo or audio attribute.


Syntax

 
ldif [ -b ] attrname
 

The parameter for this command is:

-b  

This option specifies that ldif should interpret its input as a single binary value for conversion. If this option is not specified, it interprets it as a sequence of lines, with each line containing a single value.  




Copyright © 1999 Sun Microsystems, Inc. All Rights Reserved.