Projects
Kolab:16:Testing
cyrus-imapd-3
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 8
View file
cyrus-imapd.spec
Changed
@@ -53,6 +53,7 @@ Patch9: 0001-Add-support-for-delayed-delete-mode-in-sync_apply_un.patch Patch10: 0005-Fixed-GETMETADATA-proxying.patch Patch11: 0001-Accept-existing-ancestors-to-new-mailboxes.patch +Patch12: 0001-Fix-SETMETADATA-on-shared-folders.patch Source10: cyrus-imapd.logrotate Source11: cyrus-imapd.pam-config
View file
0001-Fix-SETMETADATA-on-shared-folders.patch
Added
@@ -0,0 +1,35 @@ +From 24a205d2c4d7c3696413439c1bb68137d2ef9bf6 Mon Sep 17 00:00:00 2001 +From: Christian Mollekopf <mollekopf@apheleia-it.ch> +Date: Fri, 3 Mar 2023 17:12:46 +0100 +Subject: PATCH Fix SETMETADATA on shared folders + +Doesn't work at least when setting the metadata as cyrus-admin. + +This probably broke in bb26a0f1287ef7e0196d0f3eb4b268fee92c2ee7, +but I'm not sure what the correct fix is. +--- + imap/mboxlist.c | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +diff --git a/imap/mboxlist.c b/imap/mboxlist.c +index 5f4ac2446..e09873d04 100644 +--- a/imap/mboxlist.c ++++ b/imap/mboxlist.c +@@ -1085,7 +1085,13 @@ static int mboxlist_update_racl(const char *dbname, const mbentry_t *oldmbentry, + static void assert_namespacelocked(const char *mboxname) + { + char *userid = mboxname_to_userid(mboxname); +- assert(user_isnamespacelocked(userid)); ++ // I think this just doesn't work for shared folders ++ if (!user_isnamespacelocked(userid)) { ++ syslog(LOG_ERR, ++ "assert_namespacelocked failed for userid '%s' and mailbox '%s'", ++ userid, mboxname); ++ // assert(false); ++ } + free(userid); + } + +-- +2.39.1 +
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.