Zero length strings in LDB

Simo Sorce idra at
Sun May 22 07:05:21 GMT 2005

On Sun, 2005-05-22 at 13:37 +1000, Andrew Bartlett wrote:
> Is it valid to have a zero length string in LDB?
> I currently have ldb segfault:
> ldbsearch "(&(objectClass=user)(samAccountName=))" 
> I'm assuming that this should just fail to parse, but I would like to
> clarify things before I start changing ldb...

I think this is an invalid filter, but it is strange it segfaults.
We have a specific test for bad filters, after fiing this case we should
add this kind of bad filter to the tests.


Simo Sorce    -  idra at
Samba Team    -
Italian Site  -

More information about the samba-technical mailing list