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

Re: (ITS#4764) ditStructureRules/dITStructureRules typo error?

Kurt@OpenLDAP.org wrote:
> At 11:59 PM 11/30/2006, wanggang.wang@gmail.com wrote:
>> ------=_Part_1103_3773705.1164959961858
>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>> Content-Transfer-Encoding: 7bit
>> Content-Disposition: inline
>> oh, not compiler. but at runtime the daemon will output this during
>> initialization:
>> ...
>> slap_schema_load: AttributeType "ditStructureRules": not defined in schema
>> ...
>> I tested this on some mainframe. case difference does matter. when i changed
>> the case, it ran ok.
> Seems like strcasecmp(3) routines are not ignoring case as they should.
I've made the case of those strings conform to how they're indicated in 
the related RFC, although attribute names MUST be case insensitive.  
This solves your problem in the short term, but you should really look 
at that strcasecmp(3) issue.