View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002055||SOGo||Backend Address Book||public||2012-10-22 00:08||2013-01-18 11:30|
|Fixed in Version||2.0.4|
|Summary||0002055: filters on SOGoUserSources do not work|
Using the same example as in the installation documentation, the filter on SOGoUserSources do not work.
filter = "(o='Company' AND mail='*' AND status <> 'inactive')";
I've tried various filters, and none of them work.
All the contents of the basedn are always returned.
|Tags||No tags attached.|
What's the result of "default sogo read SOGoUserSources"?
("-bash: default: command not found" I think it's: defaults read sogod SOGoUserSources)
Naturally, I've removed the filters, as they didn't work. So I've done this to add some:
sogo@groupware:~$ defaults read sogod SOGoUserSources
No, it doesn't filter anything. By the way, this problem still exists on Version 2.0.3 (@shiva 201212071044). Is there anything else I should try?
Escape your single quotes that are inside single quotes :
OK, that works and I now have:
What does sogo expect and what does it passes to ldap with regards to a single or two single quotes? I am guess that the double single quote is necessary because of GNUstep defaults.
Perhaps the documentation should be updated. Right now it says on page 17 of the "SOGo Installation Guide.pdf":
Which I'm guessing is what should be in the /home/sogo/GNUstep/Defaults/.GNUstepDefaults file not what is input to the defaults command.
I've slightly improved the doc in this commit: inc/sogo/commit/a78d7007d7fed95f2686028d1b6846ef7318f0b9
|2012-10-22 00:08||sim||New Issue|
|2013-01-16 10:42||francis||Note Added: 0005201|
|2013-01-16 19:37||sim||Note Added: 0005206|
|2013-01-17 10:20||francis||Note Added: 0005218|
|2013-01-17 20:27||sim||Note Added: 0005223|
|2013-01-18 11:30||ludovic||Note Added: 0005234|
|2013-01-18 11:30||ludovic||Status||new => closed|
|2013-01-18 11:30||ludovic||Resolution||open => fixed|
|2013-01-18 11:30||ludovic||Fixed in Version||=> 2.0.4|