[Date Prev][Date Next]
RE: back overlay (ITS#2751)
>> -----Original Message-----
>> From: owner-openldap-bugs@OpenLDAP.org
>> [mailto:owner-openldap-bugs@OpenLDAP.org]On Behalf Of firstname.lastname@example.org
>> Full_Name: Pierangelo Masarati
>> Version: HEAD
>> OS: Linux
>> Submission from: (NULL) (184.108.40.206)
>> Submitted by: ando
>> This ITS is only to keep track of the changes I'm trying to
>> set up before
>> I commit anything. While playing with overlays I noted that:
>> 1) there is something I don't understand when dealing with
>> "send entry"
>> callbacks, which is fixed by the attached patch; or am I
>> missing something?
> The first part of this patch is not needed. The send_* functions will do
> their default behavior when no callbacks are called.
The problem I encountred is: what happens when I set
a send_* callback that manipulates data but does not
call any send_* callback on turn? The last time I
tried it, there was no success.
> The second part of the patch may be correct in resetting the op
> structure, but the check to set UNWILLING_TO_PERFORM must remain - this
> case occurs when neither the overlays nor the backend itself implemented
> the selected operation. Specifically, it is not legal for this function
> to return SLAP_CB_CONTINUE to the slapd frontend; it can only return
> legitimate LDAP result codes indicating the final disposition of an
OK, I understand this now.