Issue 313 - Bug In Slapd Error Handling
Summary: Bug In Slapd Error Handling
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-09-29 10:42 UTC by lars.uffmann@mediaways.net
Modified: 2014-08-01 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description lars.uffmann@mediaways.net 1999-09-29 10:42:25 UTC
Full_Name: Lars Uffmann
Version: 1.2.6
OS: linux 2.2.10
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (195.71.129.112)


In some situations it is possible that slapd will send LDAP_SUCCESS in response
to search requests even though an internal (ldbm) backend error occured.
The client will recive an empty search result with code LDAP_SUCCESS and has to
assume the entry(ies) in question doesn't exist.

ldbm backend build with version 2.7.5 (04/18/99) of Sleepycat Software's
Berkeley DB.

I am not able to reproduce this problem. My specific problem occured after
weeks of continous service.

Comment 1 Kurt Zeilenga 1999-10-02 00:35:08 UTC
At 10:42 AM 9/29/99 GMT, lars.uffmann@mediaways.net wrote:
>Full_Name: Lars Uffmann
>Version: 1.2.6
>OS: linux 2.2.10
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (195.71.129.112)
>
>
>In some situations it is possible that slapd will send LDAP_SUCCESS in response
>to search requests even though an internal (ldbm) backend error occured.
>The client will recive an empty search result with code LDAP_SUCCESS and has to
>assume the entry(ies) in question doesn't exist.
>
>ldbm backend build with version 2.7.5 (04/18/99) of Sleepycat Software's
>Berkeley DB.
>
>I am not able to reproduce this problem. My specific problem occured after
>weeks of continous service.

The problem is that the some back-ldbm IDL routines
have no mechanism to distingish no index from an error.
This will require a bit of reworking of the internal
interfaces, but should be done for both 2.0 and 1.2.x.
I'll add it to the TODO list.

Kurt

Comment 2 lars.uffmann@mediaways.net 1999-10-22 11:54:05 UTC
"Kurt D. Zeilenga" wrote:
> 
> At 10:42 AM 9/29/99 GMT, lars.uffmann@mediaways.net wrote:
> >Full_Name: Lars Uffmann
> >Version: 1.2.6
> >OS: linux 2.2.10
> >URL: ftp://ftp.openldap.org/incoming/
> >Submission from: (NULL) (195.71.129.112)
> >
> >
> >In some situations it is possible that slapd will send LDAP_SUCCESS in response
> >to search requests even though an internal (ldbm) backend error occured.
> >The client will recive an empty search result with code LDAP_SUCCESS and has to
> >assume the entry(ies) in question doesn't exist.
> >
> >ldbm backend build with version 2.7.5 (04/18/99) of Sleepycat Software's
> >Berkeley DB.
> >
> >I am not able to reproduce this problem. My specific problem occured after
> >weeks of continous service.
> 
> The problem is that the some back-ldbm IDL routines
> have no mechanism to distingish no index from an error.
> This will require a bit of reworking of the internal
> interfaces, but should be done for both 2.0 and 1.2.x.
> I'll add it to the TODO list.

Can you give me some hints? I would like to work on this.

-- 
Lars Uffmann, <lars.uffmann@mediaways.net>, fon: +49 5241 80 40330
Comment 3 Kurt Zeilenga 1999-12-06 21:14:25 UTC
moved from Incoming to Software Bugs
Comment 4 Kurt Zeilenga 1999-12-06 21:17:07 UTC
changed notes
changed state Open to Suspended
Comment 5 Kurt Zeilenga 2000-09-06 17:24:58 UTC
changed state Suspended to Closed
Comment 6 OpenLDAP project 2014-08-01 21:06:53 UTC
Concur.  Requires significant changes