View Issue Details

IDProjectCategoryView StatusLast Update
0000465SOGoBackend Address Bookpublic2010-06-22 20:20
Reporteraschild Assigned Toludovic  
Status resolvedResolutionfixed 
Product Version1.2.1 
Target Version1.3.0Fixed in Version1.3.0 
Summary0000465: TRUE in Ldap filters are replaced with YES, leading to invalid ldap search expression

In the ldap address book (for canAuthenticate=YES) the following filter

filter = "(objectClass=JammMailAccount)";

This filter does not work

filter = "(objectClass=JammMailAccount AND accountActive=TRUE)";

the reason is, that the query sent to the LDAP server
has the form


This then does not match the TRUE/FALSE values in the LDAP directory.

Additional Information

It is Sogo 1.2.1 on Debian Lenny, and the ldap server is Openldap 2.4.11

TagsNo tags attached.




2010-05-12 06:01

reporter   ~0001003

Wrapping the values in '' works.

filter = "(objectClass='JammMailAccount' AND accountActive='TRUE' AND deleted='FALSE')";

So this one could be closed, but perhaps documented somewhere.



2010-06-22 20:20

administrator   ~0001120

Issue History

Date Modified Username Field Change
2010-03-03 14:05 aschild New Issue
2010-05-12 06:01 aschild Note Added: 0001003
2010-05-28 18:41 ludovic Status new => assigned
2010-05-28 18:41 ludovic Assigned To => ludovic
2010-06-11 01:04 ludovic Target Version => 1.2.3
2010-06-22 20:20 ludovic Note Added: 0001120
2010-06-22 20:20 ludovic Status assigned => resolved
2010-06-22 20:20 ludovic Fixed in Version => 1.3.0
2010-06-22 20:20 ludovic Resolution open => fixed