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.
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.
changed notes changed state Open to Closed
openldap releng_1_2 already implements suggestion