[Date Prev][Date Next]
(ITS#7920) MDB_BAD_RSLOT while executing slapacl
Full_Name: Howard Chu
Submission from: (NULL) (18.104.22.168)
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.