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

Re: slapo-unique. several unique_base with different unique_attributes sets

Dmitriy Kirhlarov wrote:
Quanah Gibson-Mount wrote:
--On Saturday, June 09, 2007 1:43 PM +0400 Dmitriy Kirhlarov <dimma@higis.ru> wrote:

Hi, list

I have container in my tree 'ou=cyrus,ou=mail,o=domain' and I need check
'uniqueMember' attribute -- user can be membered only in one group.

Also, for 'ou=web,ou=groups,o=domain' with same types of objects, as
'ou=cyrus,ou=mail,o=domain' user can be membered in several groups, but I
need uniques check for 'gidNumber' inside 'ou=groups,o=domain'.

I need something:

unique_base ou=users,o=domain
    uidNumber mail mailLocalAddress

unique_base ou=groups,o=domain

unique_base ou=cyrus,ou=mail,o=domain

I'm using openldap 2.3.35

Is it possible with this version or, may be, with 2.4.x?
This is possibly in 2.4, I believe.

I'm looking man slapo-unique from 2.4. Look like nothing new

Look again. The 2.4 manpage is quite different from 2.3. Specifically, the unique_uri keyword is in 2.4 and not in 2.3.

How anybody can possibly say "look like nothing new" when there are 10 new paragraphs in this manpage is completely unbelievable.
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/