View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002055 | SOGo | Backend Address Book | public | 2012-10-22 04:08 | 2013-01-18 16:30 |
Reporter | sim | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.0.1 | ||||
Fixed in Version | 2.0.4 | ||||
Summary | 0002055: filters on SOGoUserSources do not work | ||||
Description | 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: And then: 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 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2012-10-22 04:08 | sim | New Issue | |
2013-01-16 15:42 | francis | Note Added: 0005201 | |
2013-01-17 00:37 | sim | Note Added: 0005206 | |
2013-01-17 15:20 | francis | Note Added: 0005218 | |
2013-01-18 01:27 | sim | Note Added: 0005223 | |
2013-01-18 16:30 | ludovic | Note Added: 0005234 | |
2013-01-18 16:30 | ludovic | Status | new => closed |
2013-01-18 16:30 | ludovic | Resolution | open => fixed |
2013-01-18 16:30 | ludovic | Fixed in Version | => 2.0.4 |