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

(ITS#3894) Cannot add suffix entry over protocol

Full_Name: Hallvard B Furuseth
Version: HEAD
OS: Linux
Submission from: (NULL) (
Submitted by: hallvard

ldapadd (bdb/ldbm database's suffix entry) fails with noSuchObject.

slapd -h ldapi:/// -d1 shows the error messages
  "bdb_add: suffix denied"   from back-bdb/add.c line 261,
  "entry at root add denied" from back-ldbm/add.c line 212.
The ldbm message even gets the wrong message for that, it
should at least have shown the "suffix add denied" variant.

  include ...etc/openldap/schema/core.schema
  allow update_anon
  access to * by * write
  database ldbm
  suffix "o=mysil"
  directory /tmp/db

  dn: o=mysil
  objectClass: organization
  o: mysil