From c8d645fe195a05d73ffbcc20810699f3e77f6d5f Mon Sep 17 00:00:00 2001 From: robvde Date: Wed, 10 Apr 2013 18:12:36 +0400 Subject: [PATCH] SkipCNCheck added to exchange 2013 provider --- WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Web.config | 2 ++ .../Exchange2013.cs | 1 + 2 files changed, 3 insertions(+) diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Web.config b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Web.config index 3766094f..d5f08cc5 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Web.config +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Web.config @@ -18,6 +18,8 @@ + + diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution.Exchange2013/Exchange2013.cs b/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution.Exchange2013/Exchange2013.cs index 92cd5378..1490ca72 100644 --- a/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution.Exchange2013/Exchange2013.cs +++ b/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution.Exchange2013/Exchange2013.cs @@ -5930,6 +5930,7 @@ namespace WebsitePanel.Providers.HostedSolution credential); connectionInfo.AuthenticationMechanism = AuthenticationMechanism.NegotiateWithImplicitCredential; + connectionInfo.SkipCNCheck = true; } Runspace runSpace = RunspaceFactory.CreateRunspace(connectionInfo);