[Date Prev][Date Next]
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.
At 05:10 AM 2002-07-30, firstname.lastname@example.org wrote:
>Submission from: (NULL) (18.104.22.168)
>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...