Issue 393 - openldap seg fault on ldapadd; no default value for slapd.conf's directory attribute
Summary: openldap seg fault on ldapadd; no default value for slapd.conf's directory a...
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-12-04 21:59 UTC by joe.sabu@dothill.com
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 joe.sabu@dothill.com 1999-12-04 21:59:14 UTC
Full_Name: Joe Sabu T Job
Version: 1.2.7
OS: Sol 2.6
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (216.116.135.157)


As described in the QuickStart guide, I built openldap binaries, created a
sample slapd.conf file and tried adding an entry by ldapadd. slapd sis a seg
fault. After countless hours of hair splitting, I found out that I need to
EXPLICITLY specify the configuration attribute "directory" in slapd.conf.

I'm  using Sleepycat DB 2.7.7

To recreate this bug, use the following slapd.conf

database ldbm
suffix "dc=foo, dc=com"
rootdn "cn=Manager, dc=foo, dc=com"
rootpw secret

and a data file data.ldif:

dn: dc=foo, dc=com
dc: foo
o: My Company

dn: cn=Manager, dc=foo, dc=com
cn: Manager
sn: Manager

Now try ldapadd -D "cn=Manager, dc=foo, dc=com" -W <data.ldif

slapd will die with "next_id_read: could not open "Segmentation Fault (core
dumped)"

Thanks
Joe Sabu




Comment 1 Kurt Zeilenga 1999-12-12 01:08:17 UTC
moved from Incoming to Software Bugs
Comment 2 Kurt Zeilenga 2000-09-06 17:21:33 UTC
changed notes
changed state Open to Closed
Comment 3 OpenLDAP project 2014-08-01 21:06:53 UTC
fixed in devel