60 lines
2.7 KiB
HTML
60 lines
2.7 KiB
HTML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="dc.language" scheme="rfc1766" content="en-us" />
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<meta name="dc.date" scheme="iso8601" content="2005-09-06" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
|
<meta name="security" content="public" />
|
|
<meta name="Robots" content="index,follow"/>
|
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
|
<title>Directory Server (LDAP) - Example: LDIF</title>
|
|
<link rel="stylesheet" type="text/css" href="ibmidwb.css" />
|
|
<link rel="stylesheet" type="text/css" href="ic.css" />
|
|
</head>
|
|
<body>
|
|
<a id="Top_Of_Page" name="Top_Of_Page"></a><!-- Java sync-link -->
|
|
<script language = "Javascript" src = "../rzahg/synch.js" type="text/javascript"></script>
|
|
|
|
|
|
<a name="rzahyldifexmp"></a>
|
|
<h3 id="rzahyldifexmp">Example: LDIF</h3>
|
|
<p>Here is an example of an LDIF file containing three entries. </p>
|
|
<pre class="xmp"> dn: cn=John E Doe, o=University of High
|
|
er Learning, c=US
|
|
cn: John E Doe
|
|
cn: John Doe
|
|
objectclass: person
|
|
sn: Doe
|
|
|
|
dn: cn=Bjorn L Doe, o=University of High
|
|
er Learning, c=US
|
|
cn: Bjorn L Doe
|
|
cn: Bjorn Doe
|
|
objectclass: person
|
|
sn: Doe
|
|
|
|
dn: cn=Jennifer K. Doe, o=University of High
|
|
er Learning, c=US
|
|
cn: Jennifer K. Doe
|
|
cn: Jennifer Doe
|
|
objectclass: person
|
|
sn: Doe
|
|
jpegPhoto:: /9j/4AAQSkZJRgABAAAAAQABAAD/2wBDABALD
|
|
A4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQ
|
|
ERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVG
|
|
...</pre><p class="indatacontent">The jpegPhoto in Jennifer Jensen's entry is encoded using base-64.
|
|
The textual attribute values can also be specified in base-64 format. However,
|
|
if this is the case, the base-64 encoding must be in the code page of the
|
|
wire format for the protocol (that is, for LDAP V2, the IA5 character set
|
|
and for LDAP V3, the UTF-8 encoding).</p>
|
|
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
|
|
</body>
|
|
</html>
|