View Issue Details

IDProjectCategoryView StatusLast Update
0000466SOGoBackend Address Bookpublic2011-12-30 18:40
Reporteraschild Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version1.2.1 
Summary0000466: * is not supported in ldap filters
Description

Actually the ldap filtering is very limited.

We need to be able to do something like:

(mail=@domain1.com OR mail=@domain2.com)

This throws a error in the form:

WARNING(+[EOQualifier(Parsing) qualifierWithQualifierFormat:]): unexpected chars at the end of the
string(class=GSMutableString,len=98) '(mail='xxxxx@xxxxxx.xx') OR (mail='xxxxx@xxxxxx.xx') AND (mail=domain1.com OR mail=@domain2.com)
'
buf-length: 98
length: 53
char[length]: 'A' (65) 'AND (mail=domain1.com OR mail=@domain2.com)'

Sogo is 1.2.1 under Debian Lenny

TagsNo tags attached.

Activities

luca

luca

2010-03-04 08:20

reporter   ~0000662

FWIW I've been able to use * by enclosing it in single quotes, but I wasn't able to use complex expressions.

filter = "( mail = '*' )";

ludovic

ludovic

2011-12-30 18:40

administrator   ~0003239

Solution given in the ticket, use '*'.

Issue History

Date Modified Username Field Change
2010-03-03 14:18 aschild New Issue
2010-03-04 08:20 luca Note Added: 0000662
2011-12-30 18:40 ludovic Note Added: 0003239
2011-12-30 18:40 ludovic Status new => closed
2011-12-30 18:40 ludovic Resolution open => no change required