[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Liberal parsing of schema elements (ITS#1996)
To prevent garbage out, we prevent garbage in.
If someone takes the time to allow garbage in (liberal in
what you accept) in a manner which doesn't cause garbage
out (strict in what you send), I'm fine with allowing
such into the distribution. Patches welcomed.
Kurt
At 05:10 AM 2002-07-30, michael@stroeder.com wrote:
>Full_Name:
>Version: REL_ENG_2_1
>OS: Linux
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (62.224.170.55)
>
>
>OpenLDAP usually is very strict regarding schema parsing but provides some flags
>to be more liberal (constants LDAP_SCHEMA_ALLOW_* in ldap_schema.h).
>
>But even if LDAP_SCHEMA_ALLOW_ALL is used e.g. the following object class
>definition is not accepted:
>
>objectClasses: ( inetsubscriber-oid NAME 'inetSubscriber' SUP top
>AUXILIARY MAY ( inetSubscriberAccountId $ inetSubscriberChallenge $
>inetSubscriberResponse ) X-ORIGIN 'Nortel subscriber interoperability')
>
>Yes, this definition does not provide a proper OID which violates LDAPv3
>standard. But unfortunately most LDAP servers contain definitions like this...