[Date Prev][Date Next] [Chronological] [Thread] [Top]

badfilter on simple search



Greetings --

I'm having a problem with a search and cannot find a single thing about it. 
I'm using Qmail-LDAP, and OpenLDAP 2.0.23 on Debian 3.0. I'm doing a search 
on 'mailQuota':

$ ldapsearch -b 'ou=accounts,dc=midco,dc=net' -x '(mailQuota=2048000S,5000C)'

ldapsearch returns:

version: 2

#
# filter: (mailQuota=2048000S,5000C)
# requesting: ALL
#

# search result
search: 2
result: 0 Success

# numResponses: 1


syslog shows:

Jul 10 15:28:33 ldap1 slapd[6355]: conn=21879 op=1 SRCH 
base="ou=accounts,dc=midco,dc=net" scope=2 filter="(badfilter)"


If I put _anything_ after the '=' except '*', as in 'mailQuota=*', I get 
'badfilter'. I'm completely stumped. Ideas?

Thanks.

-- 
Brendon Colby
Systems Administrator
Midcontinent Communications