[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Cache corruption caused by delete (ITS#39)
I made the following commit to -devel which may resolve this
and related delete/search issues.
At 12:17 AM 1/13/99 GMT, kurt@OpenLDAP.org wrote:
>Update of /repo/OpenLDAP/pkg/ldap/servers/slapd/back-ldbm
>
>Modified Files:
> cache.c 1.7 -> 1.8
>
>Update of /repo/OpenLDAP/pkg/ldap/servers/slapd
>
>Modified Files:
> add.c 1.11 -> 1.12
> entry.c 1.8 -> 1.9
> monitor.c 1.11 -> 1.12
> slap.h 1.17 -> 1.18
>Update of /repo/OpenLDAP/pkg/ldap/servers/slapd/back-passwd
>
>Modified Files:
> search.c 1.5 -> 1.6
>
>Log Message:
>Add normalized dn to Entry structure as field e_ndn. Entry
>creation codes to provide this field. Update cache_entrydn_cmp
>to strcasecmp() the e_ndn instead of e_dn. Note: strcasecmp()
>is still used as e_ndn isn't in uppercase. Maybe it should
>be. Did not update other codes to use e_ndn. Hence, there
>are lots of dn_normalize() calls that could be eliminated.
>(The case determination of e_ndn should be made first).