Page MenuHomePhorge

In some cases kolabd fails to cleanly update IMAP mailbox after LDAP changes. That is usual when result_attribute value is in upper case. Mailbox modification seems to follow slightly different code path, by shortcutting to IMAP pykolab function...
ClosedPublic

Authored by adomaitis on Mar 12 2018, 1:56 PM.
Tags
None
Referenced Files
F12816747: D571.id1285.diff
Thu, Jun 13, 8:59 AM
Unknown Object (File)
Wed, Jun 12, 12:06 PM
Unknown Object (File)
Wed, Jun 12, 8:51 AM
Unknown Object (File)
Tue, Jun 11, 1:22 PM
Unknown Object (File)
Mon, Jun 10, 2:49 PM
Unknown Object (File)
Fri, May 24, 11:30 AM
Unknown Object (File)
Fri, May 17, 6:00 AM
Unknown Object (File)
May 4 2024, 2:46 PM

Details

Summary

..."has_folder()" instead of going via "user_mailbox_exists()", which has a code to downcase mailbox name.

Do not shortcut to "has_folder()" function, use "user_mailbox_exists()" to downcase mailbox name before checking if it exists.

Test Plan

none

Diff Detail

Repository
rP pykolab
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Looks to me like now you'll add user/ prefix twice. See in user_mailbox_extsts() and code above your change.

  • To avoid double user/ prefix, check if user_mailbox_exists only by result_attribute
This revision is now accepted and ready to land.Mar 12 2018, 2:54 PM
This revision was automatically updated to reflect the committed changes.