websitepanel/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Client
robvde 43b73aee66 Added the ability to stamp mailboxes with a mailbox plan as well as those
mailboxes that have no mailbox plan assigned yet.

The following SQL statement will 'upgrade' the user data to work with the new
exchange 2010 SP2 provider. Ensure you replace the variables with values that
matches your environment.

DECLARE  @NetBIOSDomain nvarchar(20)
DECLARE  @ExchangeOrgRoot nvarchar(256)

SET @NetBIOSDomain = 'MYDOMAIN'
SET @ExchangeOrgRoot = 'CN=First Organization,CN=Microsoft Exchange,CN=Services,
CN=Configuration,DC=mydomain,DC=local'

UPDATE ExchangeAccounts SET SamAccountName = @NetBIOSDomain+'\'+AccountName
WHERE AccountID IN  (SELECT AccountID FROM ExchangeAccounts
WHERE AccountType IN (3,7) AND SamAccountName = '')

INSERT INTO ServiceItemProperties (ItemID, PropertyName, PropertyValue)
(SELECT SP.ItemID, 'AddressBookPolicy',
PV = 'CN='+SP.PropertyValue+' Address Policy,CN=AddressBook Mailbox Policies,'
+ @ExchangeOrgRoot
FROM         ServiceItemProperties AS SP
WHERE     (PropertyName = 'OrganizationID') AND (ItemID IN
 (SELECT     ItemID
 FROM          ServiceItemProperties AS ServiceItemProperties_1
 WHERE      (PropertyName = 'GlobalAddressList') AND (PropertyValue <> ''))))

UPDATE SP SET PropertyValue='CN='+SP2.PropertyValue+' Rooms,CN=All Address Lists
,CN=Address Lists Container,'+@ExchangeOrgRoot
FROM ServiceItemProperties AS SP
JOIN ServiceItemProperties AS SP2 ON SP.ItemID = SP2.ItemID
AND SP.PropertyName='RoomsAddressList'
WHERE (SP2.PropertyName = 'OrganizationID') AND (SP2.ItemID IN
 (SELECT     ItemID
 FROM          ServiceItemProperties AS ServiceItemProperties_1
 WHERE      (PropertyName = 'GlobalAddressList') AND (PropertyValue <> '')))
2012-07-12 17:14:19 +04:00
..
Common Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
Properties Initial project's source code check-in. 2011-07-13 16:07:32 -07:00
ApplicationsInstallerProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
AuditLogProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
AuthenticationProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
BackupProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
BlackBerryProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
CommentsProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
CRMProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
DatabaseServersProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
ecServiceHandlerProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
ecStorefrontProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
ecStorehouseProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
ExchangeServerProxy.cs Added the ability to stamp mailboxes with a mailbox plan as well as those 2012-07-12 17:14:19 +04:00
FilesProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
FtpServersProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
HostedSharePointServersProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
ImportProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
LyncProxy.cs Lync Server 2010 Multitenant Core Unified Communications Support Added 2012-07-10 11:19:55 +04:00
MailServersProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
OCSProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
OperatingSystemsProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
OrganizationProxy.cs Significant amount of changes to hosted organizations and exchange: 2012-07-09 12:03:24 +04:00
PackagesProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
SchedulerProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
ServersProxy.cs Update Copyright information on updated files 2012-07-04 08:37:14 -04:00
SharePointServersProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
StatisticsServersProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
SystemProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
TasksProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
UsersProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
VirtualizationServerProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
VirtualizationServerProxyForPrivateCloud.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
WebApplicationGalleryProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
WebServersProxy.cs Update Outercurve Copyright to 2012 in all files 2012-06-04 22:14:11 -04:00
WebsitePanel.EnterpriseServer.Client.csproj Lync Server 2010 Multitenant Core Unified Communications Support Added 2012-07-10 11:19:55 +04:00
WebsitePanel.snk Initial project's source code check-in. 2011-07-13 16:07:32 -07:00