Fix: Unable to create public folders with the same name. "sAMAccountName" didnt

get registered within ExchangeAccounts. Server Component updated to ensure
either netbios domain or "samaccountname" is returned. ES Server Component
updated to ensure it's stored within the database.
This commit is contained in:
robvde 2012-07-30 22:37:41 +04:00
parent 418c11cdf5
commit 6942c229fe
3 changed files with 35 additions and 2 deletions

View file

@ -3674,10 +3674,13 @@ namespace WebsitePanel.EnterpriseServer
name,
domain);
ExchangePublicFolder folder = exchange.GetPublicFolderGeneralSettings(parentFolder + "\\" + folderName);
// add meta-item
int accountId = AddAccount(itemId, ExchangeAccountType.PublicFolder, accountName,
folderPath, email, mailEnabled,
0, "", null, 0 , null);
0, folder.NETBIOS+"\\"+accountName, null, 0, null);
// register email address
if(mailEnabled)