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

Re: schema definition precedence



Andrew Thomson wrote:
unfortunately a developer made the following change to core.schema and
relies on it.

from...
objectclass ( 2.5.6.17 NAME 'groupOfUniqueNames' SUP top STRUCTURAL
MUST ( uniqueMember $ cn )
MAY ( businessCategory $ seeAlso $ owner $ ou $ o $ description ) )

to...
objectclass ( 2.5.6.17 NAME 'groupOfUniqueNames' SUP top STRUCTURAL
MUST ( cn )
MAY ( uniqueMember $ businessCategory $ seeAlso $ owner $ ou $ o $
description ) )

I'm happy to setup a local.schema file with his changes in it. However
can I leave the NAME as is and just have it override the previous class
defined in the core.schema??

Well, this particular change is somewhat understandable and also done in some LDAP server products (see thread I've started on ietf-ldapbis mailing list about definition of groupOfNames).


But if an application is intended to be compatible with any LDAP server product out there one SHOULD NOT change definitions of standard schema (defined in RFC2256 or others).

Or do I have to change the NAME in my local.schema and get the
programmer to update his code to use my new objectclass??

Yes.

The necessary code changes depend on whatever "use my new objectclass" means. If the application creates the group entries before knowing any members it gets tricky.

Ciao, Michael.