ldb patch

simo idra at samba.org
Mon Apr 30 15:29:32 MDT 2012

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.
However if you want to use a samldb specific helper, that is fine too.


Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>

More information about the samba-technical mailing list