[PATCH] Restore recursive search, with tests!

adrianc at catalyst.net.nz adrianc at catalyst.net.nz
Mon Jan 18 02:16:24 UTC 2016


On 2016-01-18 14:25, Garming Sam wrote:
> Hi Adrian,
> 
> In the patch:
> 
> ldb-samba: Correct error reporting to match Windows
> 
> You've assigned 0 into the 'matched' variable, as opposed to false.
> Besides being consistent with the rest of the file, this should be the
> normal convention.
> 
> Apart from that, it looks good with all the new testing and you may
> mark my review on it.
> 
> The only other thing is to comment on how long these searches take and
> whether or not it may be improved but this seems like something to
> ponder on at a later date.
> 
> 
> Cheers,
> 
> Garming
> 
> On 13/01/16 13:56, adrianc at catalyst.net.nz wrote:
>> Sorry, the last set of patches had extraneous whitespace I've now 
>> removed.
>> 
>> On 2016-01-13 11:28, adrianc at catalyst.net.nz wrote:
>>> Here's the improved patches. I've now broken them down a bit more and
>>> found the source of the incorrect error reporting. Turns out the 
>>> fault
>>> was in the new recursive search patches I was testing.
>>> 
>>> On 2016-01-07 17:25, Andrew Bartlett wrote:
>>>> On Thu, 2016-01-07 at 16:02 +1300, adrianc at catalyst.net.nz wrote:
>>>>> These patches will:
>>>>> * restore recursive search to the LDB extension modules
>>>>> * adds tests to the original patch
>>>>> * and brings LDB more in line with Windows behavior.
>>>>> 
>>>>> Please review, thanks.
>>>> 
>>>> Thanks Adrian.
>>>> 
>>>> Per our chat in the office, we need to separate out some of the
>>>> patches, and not override the failures from ldb_search_full
>>>> unconditionally.
>>>> 
>>>> That said, I do really appreciate your patience and persistence 
>>>> getting
>>>> this patch back ready for master.  It was unfortunate that we had to
>>>> drop it just before 4.3, and so I hope it can make it back for 4.4.
>>>> 
>>>> Thanks,
>>>> 
>>>> Andrew Bartlett

Here's that minor change you requested.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ldb-samba-Implement-transitive-extended-matching.patch
Type: text/x-diff
Size: 13371 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160118/2bd1633b/0001-ldb-samba-Implement-transitive-extended-matching-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-ldb-samba-Reenable-recursive-search.patch
Type: text/x-diff
Size: 1520 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160118/2bd1633b/0002-ldb-samba-Reenable-recursive-search-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-ldb-samba-critical-bugfix-on-original-recursive-sear.patch
Type: text/x-diff
Size: 3434 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160118/2bd1633b/0003-ldb-samba-critical-bugfix-on-original-recursive-sear-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-ldb-samba-Correct-error-reporting-to-match-Windows.patch
Type: text/x-diff
Size: 1964 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160118/2bd1633b/0004-ldb-samba-Correct-error-reporting-to-match-Windows-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-ldb-samba-Expand-testing-of-recursive-search.patch
Type: text/x-diff
Size: 86812 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160118/2bd1633b/0005-ldb-samba-Expand-testing-of-recursive-search-0001.diff>


More information about the samba-technical mailing list