[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
slapd aborts on assertion in openldap 2.0.18 and 19
Hello,
We are experiencing some problems with a certain searchstring on openldap
2.0.18 and 19.
Slapd aborts with: schema_init.c:1311: caseIgnoreSubstringsMatch: Assertion
`idx < left.bv_len' failed.
(With openldap 2.0.11 the same searchstring created an abort
with:schema_init.c:3221: numericStringNormalize: Assertion `newval->bv_val <
p' failed. NOTE:I tried a numeric definition of the attribute here, so don't
get confused)
We are running openldap on a redhat 7.1 system with some attributes we've
created ourselves.
The attribute on which we get the error is defined as:
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)
With the following search slapd stops:
ldapsearch -v -x -w geheim -D "cn=manager,o=ozs,c=nl" -b "o=ozs,c=nl" -h
127.0.0.1 "(ozsBirthday=*01*30)"
Slapd output:
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 (0x8146f28)
entry_rdwr_rlock: ID: 26
<= id2entry_r( 26 ) 0x8146f28 (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 (0x8148130)
entry_rdwr_rlock: ID: 27
<= id2entry_r( 27 ) 0x8148130 (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:1311: caseIgnoreSubstringsMatch: Assertion `idx <
left.bv_len' failed.
Aborted
Does someone know what is going wrong here?
Lars Teunissen