Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117765369
D571.1775230199.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
690 B
Referenced Files
None
Subscribers
None
D571.1775230199.diff
View Options
diff --git a/pykolab/auth/ldap/__init__.py b/pykolab/auth/ldap/__init__.py
--- a/pykolab/auth/ldap/__init__.py
+++ b/pykolab/auth/ldap/__init__.py
@@ -2074,12 +2074,7 @@
cache.get_entry(self.domain, entry)
else:
- imap_mailbox = "user%s%s" % (
- self.imap.get_separator(),
- entry[result_attribute]
- )
-
- if not self.imap.has_folder(imap_mailbox):
+ if not self.imap.user_mailbox_exists(entry[result_attribute]):
self.imap.user_mailbox_create(
entry[result_attribute]
)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 3, 3:29 PM (3 h, 26 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18817263
Default Alt Text
D571.1775230199.diff (690 B)
Attached To
Mode
D571: 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...
Attached
Detach File
Event Timeline