69 lines
4.1 KiB
HTML
69 lines
4.1 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) - iPlanet compatibility</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="rzahyiplanet"></a>
|
||
|
<h3 id="rzahyiplanet">iPlanet compatibility</h3>
|
||
|
<p>The parser used by the Directory Server allows the attribute values of
|
||
|
schema attribute types (objectClasses and attributeTypes ) to be specified
|
||
|
using the grammar of iPlanet. For example, descrs and numeric-oids can be
|
||
|
specified with surrounding single quotation marks (as if they were qdescrs).
|
||
|
However, the schema information is always made available through ldap_search.
|
||
|
As soon as a single dynamic change (using ldap_modify) is performed on an
|
||
|
attribute value in a file, the whole file is replaced by one where all attribute
|
||
|
values follow the Directory Server specifications. Because the parser used
|
||
|
on the files and on ldap_modify requests is the same, an ldap_modify that
|
||
|
uses the iPlanet grammar for attribute values is also handled correctly.</p>
|
||
|
<p>When a query is made on the subschema entry of a iPlanet server, the resulting
|
||
|
entry can have more than one value for a given OID. For example, if a certain
|
||
|
attribute type has two names (such as 'cn' and 'commonName'), then the description
|
||
|
of that attribute type is provided twice, once for each name. The Directory
|
||
|
Server can parse a schema where the description of a single attribute type
|
||
|
or object class appears multiple times with the same description (except for
|
||
|
NAME and DESCR). However, when the Directory Server publishes the schema it
|
||
|
provides a single description of such an attribute type with all of the names
|
||
|
listed (the short name comes first). For example, here is how iPlanet describes
|
||
|
the common name attribute:</p>
|
||
|
<pre class="xmp"> ( 2.5.4.3 NAME 'cn'
|
||
|
DESC 'Standard Attribute'
|
||
|
SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' )
|
||
|
|
||
|
( 2.5.4.3 NAME 'commonName'
|
||
|
DESC 'Standard Attribute, alias for cn'
|
||
|
SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' )</pre><p class="indatacontent">This is how the Directory
|
||
|
Server describes it:</p>
|
||
|
<pre class="xmp"> ( 2.5.4.3 NAME ( 'cn' 'commonName' ) SUP name )</pre><p class="indatacontent">The Directory Server supports subtypes. If you do not want 'cn' to be
|
||
|
a subtype of name (which deviates from the standard), you can declare the
|
||
|
following:</p>
|
||
|
<pre class="xmp">( 2.5.4.3 NAME ( 'cn' 'commonName' )
|
||
|
DESC 'Standard Attribute'
|
||
|
SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' )</pre><p class="indatacontent">The first name ('cn') is
|
||
|
taken as the preferred or short name and all other names after 'cn' as alternate
|
||
|
names. From this point on, the strings '2.3.4.3', 'cn' and 'commonName' (as
|
||
|
well as their case-insensitive equivalents) can be used interchangeably within
|
||
|
the schema or for entries added to the directory.</p>
|
||
|
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
|
||
|
</body>
|
||
|
</html>
|