[Date Prev][Date Next] [Chronological] [Thread] [Top]

mysterious segfault

  I've added two seemingly innocuous lines to my LDAP

Index: conf-root/etc/openldap/slapd.d/cn=config/olcDatabase={1}bdb.ldif
--- etc/openldap/slapd.d/cn=config/olcDatabase={1}bdb.ldif	(revision 1444)
+++ etc/openldap/slapd.d/cn=config/olcDatabase={1}bdb.ldif	(working copy)
@@ -1,6 +1,9 @@
 dn: olcDatabase={1}bdb
 objectClass: olcDatabaseConfig
 objectClass: olcBdbConfig
+objectClass: olcSyncProvConfig
+olcSpCheckpoint: 100 5
+olcSpSessionlog: 100
 olcDatabase: {1}bdb
 olcSuffix: dc=metascopic,dc=com
 olcAccess: {0}to attrs=userPassword

  However, they cause `slaptest` to segfault on Linux! I'm a
  little perplexed by this.

 :; slaptest -F etc/openldap/slapd.d/
  Segmentation fault

  Removing the lines restores `slaptest` to a state of sanity.