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

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



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.


>On 12/1/06, Kurt D. Zeilenga <Kurt@openldap.org> wrote:
>>
>> At 10:32 PM 11/30/2006, wanggang.wang@gmail.com wrote:
>> >Full_Name: Gang Wang
>> >Version: 2.3.20
>> >OS:
>> >URL: ftp://ftp.openldap.org/incoming/
>> >Submission from: (NULL) (202.108.130.138)
>> >
>> >
>> >openldap-2.3.20/servers/slapd/schema_prep.c Line 370
>> >
>> >        "MAY ( dITStructureRules $ nameForms $ ditContentRules $ "
>> >        { "ditStructureRules", "( 2.5.21.1 NAME 'dITStructureRules' "
>> >        { "ditContentRules", "( 2.5.21.2 NAME 'dITContentRules' "
>> >
>> >there are some "dIT" in the strings instead of "dit". is it some kind of
>> typo
>> >error?  I'm porting this version to some operating system. the compiler
>> complains
>> >...
>>
>> About the case difference in these strings?  I doubt that.
>>
>> Kurt
>>
>>
>
>------=_Part_1103_3773705.1164959961858
>Content-Type: text/html; charset=ISO-8859-1
>Content-Transfer-Encoding: 7bit
>Content-Disposition: inline
>
>oh, not compiler. but at runtime the daemon will output this during initialization:<br>...<br>slap_schema_load: AttributeType &quot;ditStructureRules&quot;: not defined in schema<br>...<br>I tested this on some mainframe. case difference does matter. when i changed the case, it ran ok.
><br><br><div><span class="gmail_quote">On 12/1/06, <b class="gmail_sendername">Kurt D. Zeilenga</b> &lt;<a href="mailto:Kurt@openldap.org";>Kurt@openldap.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
>At 10:32 PM 11/30/2006, <a href="mailto:wanggang.wang@gmail.com";>wanggang.wang@gmail.com</a> wrote:<br>&gt;Full_Name: Gang Wang<br>&gt;Version: 2.3.20<br>&gt;OS:<br>&gt;URL: <a href="ftp://ftp.openldap.org/incoming/";>ftp://ftp.openldap.org/incoming/
></a><br>&gt;Submission from: (NULL) (<a href="http://202.108.130.138";>202.108.130.138</a>)<br>&gt;<br>&gt;<br>&gt;openldap-2.3.20/servers/slapd/schema_prep.c Line 370<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;MAY ( dITStructureRules $ nameForms $ ditContentRules $ &quot;
><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ &quot;ditStructureRules&quot;, &quot;( <a href="http://2.5.21.1";>2.5.21.1</a> NAME 'dITStructureRules' &quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ &quot;ditContentRules&quot;, &quot;( <a href="http://2.5.21.2";>2.5.21.2</a> NAME 'dITContentRules' &quot;
><br>&gt;<br>&gt;there are some &quot;dIT&quot; in the strings instead of &quot;dit&quot;. is it some kind of typo<br>&gt;error?&nbsp;&nbsp;I'm porting this version to some operating system. the compiler complains<br>&gt;...<br><br>
>About the case difference in these strings?&nbsp;&nbsp;I doubt that.<br><br>Kurt<br><br></blockquote></div>
>
>------=_Part_1103_3773705.1164959961858--