View Issue Details

IDProjectCategoryView StatusLast Update
0005903SOGoBackend Address Bookpublic2023-11-23 10:14
Reporterlitauer Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformmacBookOSmacOSOS VersionSonomna 14.1.1
Product Version5.8.4 
Summary0005903: LDAP search uses wildcard in front of pattern
Description

While creating a new mail, Sogo searches my LDAP address books for the pattern. According to https://wiki.sogo.nu/ResourceConfiguration the pattern matching should be anchored: "when searching in addressbook, SOGo will search in mail, displayName, cn, sn and givenName where it will try to match strings from the beginning (ie 'me' will match 'meetingroom' but 'roo' won't match)".
I did a tcpdump while typing "cio" and recognized sogo is searching cio instead of *cio. So many more matches as expected are shown, not that bad ... but there are sideeffects of that behaviour. (see screenshot 1)

I subscribed a shared calendar of our CIO (cio@uni-koblenz.de). I want to create a meeting in his calendar inviting some other people. The availability dialog now shows the availability of the invited user and some other person (with "cio" in his givenname, Mauricio), but not the availability of cio@uni-koblenz.de. (see screenshots 2 and 3)

I think this is a bug. When inserting an appointment to a shared calendar, the owner of the calendar should be searched for exactly not just as a search for a part of his mail address.

Steps To Reproduce

Lookup a user in your ldap addressbook who isn't found as the first match (e.g. cio). Then subscribe to his calendar, insert an appointment in the subscribed calendar and try to invite other people to this appointment.

TagsNo tags attached.

Activities

litauer

litauer

2023-11-22 16:22

reporter  

Sogo-Suche.png (48,121 bytes)   
Sogo-Suche.png (48,121 bytes)   
litauer

litauer

2023-11-23 10:14

reporter   ~0017455

Sorry, I accidentally uploaded the same screenshot twice. Please ignore the 2nd one, here is the relevant that shows the effect: While the calandar belongs to cio@uni-koblenz.de the availability dialog displays "Mauricio" as calandar owner.

Issue History

Date Modified Username Field Change
2023-11-22 16:22 litauer New Issue
2023-11-22 16:22 litauer File Added: Sogo-Suche.png
2023-11-22 16:22 litauer File Added: Bildschirmfoto 2023-11-22 um 16.58.47.png
2023-11-22 16:22 litauer File Added: Bildschirmfoto 2023-11-22 um 16.58.47-2.png
2023-11-23 10:14 litauer Note Added: 0017455
2023-11-23 10:14 litauer File Added: Bildschirmfoto 2023-11-23 um 09.01.04.png