Example

Here is an example of an LDIF file containing three entries.

 
dn: cn=Ann M Jones, o=XYZ Corporation, c=US
 
cn: Ann M Jones cn: Ann Jones
 
objectclass: person
 
sn: Jones
 

 
dn: cn=Frederick Smith, o=XYZ Corporation, c=US
 
cn: Frederick Smith
 
objectclass: person
 
sn: Smith
 

 
dn: cn=Elaine Jones, o=XYZ Corporation, c=US
 
cn: Elaine Jones
 
objectclass: person
 
sn: Jones
 
jpegPhoto:: /9j/4AAQSkZJRgABAAAAAQABAAD/2wBDABALD
 
A4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQ
 
ERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVG
 
...
 

Notice that the jpegPhoto in Elaine Jones's entry is encoded using base 64.




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