not returning the partition control in ldb

Matthieu Patou mat at samba.org
Wed Mar 2 15:15:06 MST 2011


On 02/03/2011 23:48, Andrew Bartlett wrote:
> On Sun, 2011-02-27 at 12:31 +0300, Matthieu Patou wrote:
>> Hello Andrew,
>>
>> we talk already about the partition control that for the moment is
>> returned when doing ldb calls directly (either with ldb_* or in python).
>> What would you think of a top level module that would sit before
>> "resolveoid" that will clean this control just before sending the answer ?
> I'm happy for repl_meta_data to somehow clean the control from the
> response, as long as doing that doesn't break other things - on the
> input side, we found that removing controls that we thought were 'done'
> caused trouble, and so we started to mark them non-critical.
>
> I know the situation isn't ideal, and has been hidden because of the
> fact that the control can't be encoded over LDAP, so dealing with this
> has been put off, but I'm just cautious that we got into trouble when we
> previously removed things from the controls array.
>
Why not put a top level module just before resolveoid to clean this ? As 
it is the last module it should cause any harm no ?

-- 
Matthieu Patou
Samba Team        http://samba.org
Private repo      http://git.samba.org/?p=mat/samba.git;a=summary




More information about the samba-technical mailing list