ando@sys-net.it writes:
I think bi_entry_get_rw() needs work.
Or maybe phase it out in favor of some other call?
In fact, as also discussed in ITS#5628, callers either return the entry or have no means to modify the arguments of the request.
It has more troubles than that. See e.g. the notes about passing rw=1 (write) to it here: http://www.openldap.org/lists/openldap-devel/200803/msg00055.html And there is no equivalent of the REP_ENTRY_MUSTRELEASE flag which says to pass an rw=1 argument to bi_entry_release_rw().