ldb patch

Matthieu Patou mat at samba.org
Tue May 1 00:33:14 MDT 2012

On 04/30/2012 02:29 PM, simo wrote:
> On Mon, 2012-04-30 at 00:26 -0700, Matthieu Patou wrote:
>> Hello Simo,
>> Any objection with this patch ?
>> The idea is to use this function in samldb modules when comparing
>> attributes name instead of using just strcmp. Comparing first the string
>> length should speed up the comparison in most cases.
> Aside from the strcmp ->  memcmp as Andrew commented, I do not see major
> problems adding this interface.
Yeah good catch I was too focused on string comparison.
> However if you want to use a samldb specific helper, that is fine too.
Ok I'll see as yes it's for samldb.


Matthieu Patou
Samba Team

More information about the samba-technical mailing list