[Date Prev][Date Next]
Re: Creating entries on the fly, destroying them when operation is over
On Fri, 11 Apr 2008 23:53:04 +0200
Davor Ocelic <firstname.lastname@example.org> wrote:
> Hey folks,
> In the search callback, I need to check whether an entry exists, and
> if not, create it based on an another entry used as template.
Ok, got it. The last issue is:
When I've got the new entry created inside op_search handler, how do I
make it "persist" and end up returned to the client?
I've tried setting rs->sr_entry to the new entry and setting
rs->sr_err to LDAP_SUCCESS, but the entry is lost somewhere along the
way and it's not seen at overlay's exit.