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

(ITS#7920) MDB_BAD_RSLOT while executing slapacl

Full_Name: Howard Chu
Version: 2.4.39
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (
Submitted by: hyc

As discussed in this thread

slapacl leaves an open reader txn as soon as it calls mdb_tool_dn2id_get. If the
ACLs in effect need to read any other entries, they call be_entry_get.
mdb_entry_get doesn't know about the reader txn opened by the tool code, which
causes this error.

For 2.5 we should probably unify the slapd and tool entry points, there's no
good reason for many of these tool APIs to exist; they're just redundant work.