server sort in samba4

Matthieu Patou mat+Informatique.Samba at
Mon Jun 22 04:47:34 MDT 2009

On 06/22/2009 02:25 PM, Matthias Dieter Wallnöfer wrote:
> Dear Matthieu!
> If I remember it correctly, LDB testing isn't done through the torture 
> suite. Therefore you should try to enhance the files located under 
> "source4/lib/ldb/tests"; mainly
Allow me to disagree :

cf. source4/torture/ldb/ldb.c
cf. smbtorture | grep LDB

LOCAL-LDB is not my test ...
But after it's not up to me to decide.

> Matthias
> Matthieu Patou schrieb:
>> On 06/11/2009 01:28 PM, Andrew Bartlett wrote:
>>> On Thu, 2009-06-11 at 11:37 +0400, Matthieu Patou wrote:
>>>> Dear tridge and andrew,
>>>> I would like to thank you for the support along my experience with
>>>> samba4 in real world and also say a big thank you to tridge which 
>>>> issued
>>>> quickly a patch for server sort problem.
>>>> That's really helpful because outlook's search as you type works 
>>>> now and
>>>> also my users are sorted which is much better (I think ...).
>>>> In the meantime in order not to face a regression in this area I did
>>>> this torture test, can you review it ?
>>> The only comment I have is that there are useful functions such as
>>> ldb_get_default_basedn(), so you don't need to query the rootDSE
>>> manually.
>> Find attached a new version that use ldb_get_root_basedn for getting 
>> basedn (instead of querying rootDSE).
>> Let me know.
>> Matthieu.

More information about the samba-technical mailing list