I want to filter out which ldap accounts have access to sogo. Under t SogoUserSources in GNUstepDefaults, I have the line

filter = "(objectClass=uidObject )";

and that works great. But I want to filter on the existence of the attribute mail , like:

filter = "(objectClass=uidObject and mail=* )";

and does not work but gives the error shown below in the logs. I've tried escaping the "*" character (mail=\*) as I think the asterisk is the problem, but I get the same error. Any ideas?


2011-12-13 10:13:25.928 sogod[31483] WARNING(+[EOQualifier(Parsing) qualifierWithQualifierFormat:]): unexpected chars at the end of the string(class=GSMutableString,len=118) '(uid='username') AND (objectClass=uidObject and mail=*)'
2011-12-13 10:13:25.928 sogod[31483]   buf-length: 118
2011-12-13 10:13:25.928 sogod[31483]   length:     14
2011-12-13 10:13:25.928 sogod[31483] char[length]: 'A' (65) 'AND (objectClass=uidObject and mail=*)' Dec 13 10:13:25 sogod [31494]: SOGoRootPage Login for user 'username' might not have worked - password policy: 65535 grace: -1 expire: -1 bound: 0 localhost - - [13/Dec/2011:10:13:25 GMT] "POST /SOGo/connect HTTP/1.1" 403 34/39 0.008 - - 456K


Thanks,

Ben
--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to