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

RE: slapd aborts on assertion in openldap 2.0.18 and 19



I've changed the attribute to:
attributetype ( 5.5.5.5.8
        NAME 'ozsBirthday'
        DESC 'OZS Geboortedatum'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreIA5SubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)

Tested with openldap 2.0.18 but slapd still aborts(another line in
schema_init.c):

=> test_filter
    SUBSTRINGS
begin test_substrings_filter
=> access_allowed: search access to
"ozsSys=GEERTE,o=EURONED,ozsDir=APO-patient,o=ozs,c=nl" "ozsBirthday"
requested
<= root access granted
end test_substrings_filter 1
<= test_filter 5
ldbm_search: candidate 25 does not match filter
entry_rdwr_runlock: ID: 25
====> cache_return_entry_r( 25 ): created (0)
=> id2entry_r( 26 )
=> ldbm_cache_open( "/u/ozsdata/id2entry.gdbm", 34, 600 )
<= ldbm_cache_open (cache 1)
=> str2entry
<=
str2entry(uid=000200293,ozsSys=GEERTE,o=EURONED,ozsDir=APO-patient,o=ozs,c=n
l) -> -1 (0x81468f0)
entry_rdwr_rlock: ID: 26
<= id2entry_r( 26 ) 0x81468f0 (disk)
=> test_filter
    SUBSTRINGS
begin test_substrings_filter
=> access_allowed: search access to
"uid=000200293,ozsSys=GEERTE,o=EURONED,ozsDir=APO-patient,o=ozs,c=nl"
"ozsBirthday" requested
<= root access granted
end test_substrings_filter 1
<= test_filter 5
ldbm_search: candidate 26 does not match filter
entry_rdwr_runlock: ID: 26
====> cache_return_entry_r( 26 ): created (0)
=> id2entry_r( 27 )
=> ldbm_cache_open( "/u/ozsdata/id2entry.gdbm", 34, 600 )
<= ldbm_cache_open (cache 1)
=> str2entry
<=
str2entry(uid=000200256,ozsSys=GEERTE,o=EURONED,ozsDir=APO-patient,o=ozs,c=n
l) -> -1 (0x8147af8)
entry_rdwr_rlock: ID: 27
<= id2entry_r( 27 ) 0x8147af8 (disk)
=> test_filter
    SUBSTRINGS
begin test_substrings_filter
=> access_allowed: search access to
"uid=000200256,ozsSys=GEERTE,o=EURONED,ozsDir=APO-patient,o=ozs,c=nl"
"ozsBirthday" requested
<= root access granted
slapd: schema_init.c:2703: caseIgnoreIA5SubstringsMatch: Assertion `idx <
left.bv_len' failed.
Aborted

-----Oorspronkelijk bericht-----
Van: Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org]
Verzonden: Friday, December 28, 2001 15:15
Aan: Lars Teunissen
CC: openldap-software@OpenLDAP.org
Onderwerp: Re: slapd aborts on assertion in openldap 2.0.18 and 19


At 12:06 AM 2001-12-28, Lars Teunissen wrote:
>attributetype ( 5.5.5.5.8
>        NAME 'ozsBirthday'
>        DESC 'OZS Geboortedatum'
>        EQUALITY caseIgnoreMatch
>        SUBSTR caseIgnoreSubstringsMatch
>        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)

Your schema uses matching rules and syntaxes in unexpected
combination.   caseIgnoreMatch/caseIgnoreSubstringsMatch
are designed to work with directoryString syntax, not
IA5 string syntax.

Kurt