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
Unknown Object (File)
Tue, Apr 23, 2:04 PM
Unknown Object (File)
Sun, Apr 21, 5:14 PM
Unknown Object (File)
Sun, Apr 21, 5:14 PM
Unknown Object (File)
Sun, Apr 21, 5:14 PM
Unknown Object (File)
Sun, Apr 21, 5:14 PM
Unknown Object (File)
Sat, Apr 20, 10:09 AM
Unknown Object (File)
Wed, Apr 17, 11:21 AM
Unknown Object (File)
Tue, Apr 16, 9:19 AM

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
Branch
T80958
Lint
Lint Skipped
Unit
No Test Coverage
Build Status
Buildable 16879
Build 9340: arc lint + arc unit

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.