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

Liberal parsing of schema elements (ITS#1996)



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...