[Date Prev][Date Next]
Re: constraint overlay (ITS#3292)
>On Tuesday 15 March 2005 02:15, Kurt Zeilenga wrote:
>Yup - finally getting round to completing this work. Hey - it's only been 6
>months! Man page will be written ASAP (hopefully tomorrow).
>I've decided to zap the iconv() stuff - so the constraint plugin simply
>applies regular expression constraint upon attributes. Since regex is already
>part of the OL autoconf process, I reckon this should impose no additional
>needs upon the core software.
>I'm also playing with the ability to store the constraints within the DIT (say
>with an auxiliary class "attributeConstrainingClass", which allows the
>optional attribute "attributeConstraint", whose form is
>"<attribute>=<regex>"). Not sure if this is useful, but since it would be
>entirely optional (and in fact inoperable without an additional schema file),
You could register it dynamically thru the overlay's bi_init()
callback. See ppolicy for other schema registering code examples.
>it doesn't actually mandate changes which the directory admin wouldn't like.
>Since such a "meta-attribute" isn't defined in anyone's standard, I'll
>probably prefix it with "hp" and carve out some of our OID space.
Maybe you could ask for some OpenLDAP-based OID registering (in the .666
SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497