[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Mistake in the doc ?



Vincent Panel wrote:
On Fri, Aug 29, 2008 at 6:10 PM, Buchan Milne
<bgmilne@staff.telkomsa.net> wrote:
On Friday 29 August 2008 17:02:01 Vincent Panel wrote:
Hi,

Maybe I don't understand but,  I'm looking at § 8.2.4.1 in this
document : http://www.openldap.org/doc/admin22/schema.html

The goal is to create an attributetype called "myUniqueName" which is
unique. With the last definition of this attributetype :

 attributetype ( 1.1.2.1.1 NAME 'myUniqueName'
               DESC 'unique name with my organization'
               SUP name )

How can openldap guess that we cant a unique attributetype ?
I don't see anything in the document you refer to that implies that slapd will
enforce uniqueness on the attribute. It only states that organisations may
maintain a unique ID (but does not state how).

Isn't there a SINGLE-VALUE missing at the end of the description ?
Uniqueness is orthogonal to being multi-valued.

Ok, I didn't quite understand the meaning of SINGLE-VALUE, I see now.

But look at § 8.2.4.1 : in the first example, SINGLE-VALUE is
specified and not in the second example. Is this because "name" is
already single-valued ?

name is defined as a multiple-valued attribute in standard-track specifications.


p.


Ing. Pierangelo Masarati OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Fax:     +39 0382 476497
Email:   ando@sys-net.it
-----------------------------------