From e7082916645d9f30c4688bdaacc17def57bd8126 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Wed, 18 Apr 2007 08:00:36 +0000
Subject: [PATCH] Add support for specifying the naming attribute in relations.
---
opends/resource/admin/admin-ldap.xsd | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/opends/resource/admin/admin-ldap.xsd b/opends/resource/admin/admin-ldap.xsd
index c16bf54..59e4264 100644
--- a/opends/resource/admin/admin-ldap.xsd
+++ b/opends/resource/admin/admin-ldap.xsd
@@ -19,7 +19,8 @@
<xsd:documentation>A numeric OID.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:token">
- <xsd:pattern value="([0-9]+(\.[0-9]+)*)|([a-zA-Z][a-zA-Z0-9\-_]*-oid)" />
+ <xsd:pattern
+ value="([0-9]+(\.[0-9]+)*)|([a-zA-Z][a-zA-Z0-9\-_]*-oid)" />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="name-type">
@@ -91,9 +92,18 @@
</xsd:sequence>
</xsd:complexType>
</xsd:element>
+ <xsd:element name="naming-attribute" type="tns:name-type">
+ <xsd:annotation>
+ <xsd:documentation>
+ Defines which LDAP attribute should be used to name child
+ managed objects referenced by a relation. When not specified,
+ "cn" is used by default.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
<xsd:element name="rdn-sequence" type="xsd:token">
<xsd:annotation>
<xsd:documentation>A sequence of RDNs.</xsd:documentation>
</xsd:annotation>
</xsd:element>
-</xsd:schema>
\ No newline at end of file
+</xsd:schema>
--
Gitblit v1.10.0