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

(ITS#3813) Potential bug in back-meta's controls handling



Full_Name: Raphael Ouazana
Version: 2.2;26
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (194.98.7.155)



This is what I understand, but I can be wrong :

In back-meta, meta_back_dobind() is called from any operation. The second
parameter is a pointer on the operation which is currently executed.

In meta_back_dobind(), under certain conditions a bind is performed with
op->o_ctrls as parameter. So for example if a modify operation is executed with
ManageDSAIT control, this control will be propagated in the bind operation. So
it would fail.

A possible fix could be to propagate only controls if op is a bind operation.
But this could miss non operation-relative controls (if they exist).

Raphael Ouazana.