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

(ITS#3894) Cannot add suffix entry over protocol



Full_Name: Hallvard B Furuseth
Version: HEAD
OS: Linux
URL: 
Submission from: (NULL) (129.240.186.42)
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.

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

ldif:
  dn: o=mysil
  objectClass: organization
  o: mysil