Issue 549 - Quick Start Guide (conf note on directory)
Summary: Quick Start Guide (conf note on directory)
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: 2000-05-28 11:09 UTC by cove+ldap@unicom.marin.cc.ca.us
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 cove+ldap@unicom.marin.cc.ca.us 2000-05-28 11:09:40 UTC
Full_Name: Cove Schneider
Version: 1.2.10
OS: FreeBSD-2.8.x
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (206.184.69.232)


When the directory specified in slapd.conf doesn't exist (in my case /usr/tmp),

slapd will fail (all?) operations with an "Operations error"; leaving the new
user
to simply scratch her head in wonder as to what  the problem could be (ie. LDIF

syntax, permissions, who knows what). Apawn further invesitgation, figuring out
the debugging bit-masks are in ldap.h, restarting the server with debugging
turned on, it's then obvious what's wrong -- the directory doesn't exist. Though
perhaps some note about that in the Quick Start docs wouldn't be a bad idea, I
sure could have
saved some head scracting time at least. That or perhaps chainging the default
directory to /var/tmp or /tmp(?), since they are more commonly assumed to exist
by other applications than /usr/tmp these days.

Comment 1 Kurt Zeilenga 2000-05-29 03:40:27 UTC
At 11:09 AM 5/28/00 GMT, cove+ldap@unicom.marin.cc.ca.us wrote:
>Full_Name: Cove Schneider
>Version: 1.2.10
>OS: FreeBSD-2.8.x

You mean 2.2.8, I presume.

>Though perhaps some note about that in the Quick Start docs wouldn't be a bad idea,

Maybe something in the FAQ... we want to keep the Quick Start Guide lean.
We will add a comment to slapd.conf so that folks realize the directory
needs to exist (and be writable to slapd).

>That or perhaps chainging the default
>directory to /var/tmp or /tmp(?),

In the next release, the default, IIRC, will be $localstatedir/openldap-ldbm
(where $localstatedir is determined by configure based upon user input)
AND the install script creates it.  /tmp or other world-writable directory
was a bad choice, I pressumed it was assumed that folks would specify
something better.
Comment 2 Kurt Zeilenga 2000-05-30 10:51:36 UTC
changed notes
changed state Open to Closed
Comment 3 OpenLDAP project 2014-08-01 21:06:11 UTC
openldap releng_1_2 already implements suggestion