Skip to content

Commit 7379661

Browse files
committed
oxdisco: rectify public folder mailboxid generation
The AutoDiscover responder emitted the wrong mailboxid for public stores. This has no consequences because the MailboxId parameter is unused except for displaying debug strings, and the actual mailbox name is in the ropLogon payload instead.
1 parent 439430b commit 7379661

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

exch/oxdisco.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,9 @@ int OxdiscoPlugin::resp_web(XMLElement *el, const char *authuser,
668668
}
669669
else {
670670
DisplayName = public_folder;
671+
unsigned int org_id = 0;
672+
if (!mysql_adaptor_get_domain_ids(domain, &domain_id, &org_id))
673+
return -1;
671674
if (cvt_username_to_essdn(email, x500_org_name.c_str(),
672675
mysql_adaptor_get_user_ids, mysql_adaptor_get_domain_ids,
673676
essdn) != ecSuccess)

0 commit comments

Comments
 (0)