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

bug (or partially misimplemented feature!)in schemaparse.c (ITS#1114)

Full_Name: Pierangelo Masarati
Version: HEAD
OS: Linux RH
URL: ftp://ftp.openldap.org/incoming/pierangelo-masarati-2001-04-11-allow-quotes.patch
Submission from: (NULL) (

In libraries/libldap/schema.c there is a note that states SYNTAX OIDs may be 
enclosed in single quotes to deal with Netscape DS schema, although this
doesn't comply with the related RFCs. But in servers/slapd/schemaparse.c, where
an attempt to detect a possible SYNTAX macro is performed, this extension is
ignored. I propose a patch that fixes the problem. BTW, the problem emerged when

I tried to load the schema/microsoft.schema file, which has the SYNTAX 
of the attributes enclosed in signle quotes, and slapd (HEAD as of today) 
didn't accept it. There are also other issues concerning these files; for
slapd doesn't accept syntax 1.2.840.113556.1.4.906, which is not defined