diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Base/Common/Constants.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Base/Common/Constants.cs
index c2e18285..56a981d0 100644
--- a/WebsitePanel/Sources/WebsitePanel.Providers.Base/Common/Constants.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.Base/Common/Constants.cs
@@ -62,6 +62,8 @@ namespace WebsitePanel.Providers.Common
public const string EnterpriseServer = "EnterpriseServer";
+ public const string EnterpriseServerFQDN = "EnterpriseServerFQDN";
+
public const string AdministrationToolService = "AdministrationToolService";
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/BlackBerry5Provider.cs b/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/BlackBerry5Provider.cs
index 149fe1fb..13e5f563 100644
--- a/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/BlackBerry5Provider.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/BlackBerry5Provider.cs
@@ -72,11 +72,12 @@ namespace WebsitePanel.Providers.HostedSolution
return res;
}
- string arguments = string.Format("-username {0} -password {1} -add -u {2} -b {3}",
+ string arguments = string.Format("-username {0} -password {1} -add -u {2} -b {3} -n {4}",
User,
Password,
primaryEmailAddress,
- EnterpriseServer);
+ EnterpriseServer,
+ EnterpriseServerFQDN);
try
{
@@ -119,13 +120,14 @@ namespace WebsitePanel.Providers.HostedSolution
return res;
}
- string arguments = string.Format(" -username {0} -password {1} -change -u {2} -b {3} -w {4} -wt {5}",
+ string arguments = string.Format(" -username {0} -password {1} -change -u {2} -b {3} -w {4} -wt {5} -n {6}",
User,
Password,
primaryEmailAddress,
EnterpriseServer,
password,
- time);
+ time,
+ EnterpriseServerFQDN);
try
{
@@ -163,11 +165,12 @@ namespace WebsitePanel.Providers.HostedSolution
return res;
}
- string arguments = string.Format("-username {0} -password {1} -change -u {2} -b {3} -cw",
+ string arguments = string.Format("-username {0} -password {1} -change -u {2} -b {3} -cw -n {4}",
User,
Password,
primaryEmailAddress,
- EnterpriseServer);
+ EnterpriseServer,
+ EnterpriseServerFQDN);
try
{
@@ -214,11 +217,12 @@ namespace WebsitePanel.Providers.HostedSolution
return res;
}
- string arguments = string.Format("-username {0} -password {1} -change -u {2} -b {3} -wrandom",
+ string arguments = string.Format("-username {0} -password {1} -change -u {2} -b {3} -wrandom -n {4}",
User,
Password,
primaryEmailAddress,
- EnterpriseServer);
+ EnterpriseServer,
+ EnterpriseServerFQDN);
try
{
@@ -256,11 +260,12 @@ namespace WebsitePanel.Providers.HostedSolution
return res;
}
- string arguments = string.Format("-username {0} -password {1} -kill_handheld -u {2} -b {3}",
+ string arguments = string.Format("-username {0} -password {1} -kill_handheld -u {2} -b {3} -n {4}",
User,
Password,
primaryEmailAddress,
- EnterpriseServer);
+ EnterpriseServer,
+ EnterpriseServerFQDN);
try
@@ -346,11 +351,12 @@ namespace WebsitePanel.Providers.HostedSolution
return res;
}
- string arguments = string.Format(" -username {0} -password {1} -stats -u {2} -b {3}",
+ string arguments = string.Format(" -username {0} -password {1} -stats -u {2} -b {3} -n {4}",
User,
Password,
primaryEmailAddress,
- EnterpriseServer);
+ EnterpriseServer,
+ EnterpriseServerFQDN);
string output;
string error;
@@ -421,11 +427,12 @@ namespace WebsitePanel.Providers.HostedSolution
return res;
}
- string arguments = string.Format("-username {0} -password {1} -delete -u {2} -b {3}",
+ string arguments = string.Format("-username {0} -password {1} -delete -u {2} -b {3} -n {4}",
User,
Password,
primaryEmailAddress,
- EnterpriseServer);
+ EnterpriseServer,
+ EnterpriseServerFQDN);
try
{
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/BlackBerryProvider.cs b/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/BlackBerryProvider.cs
index 1faf17e6..a1ea4d5f 100644
--- a/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/BlackBerryProvider.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/BlackBerryProvider.cs
@@ -74,7 +74,16 @@ namespace WebsitePanel.Providers.HostedSolution
return ProviderSettings[Constants.EnterpriseServer];
}
}
-
+
+ public string EnterpriseServerFQDN
+ {
+ get
+ {
+ return ProviderSettings[Constants.EnterpriseServerFQDN];
+ }
+ }
+
+
public ResultObject CreateBlackBerryUser(string primaryEmailAddress)
{
return CreateBlackBerryUserInternal(primaryEmailAddress);
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ProviderControls/App_LocalResources/BlackBerry5_Settings.ascx.resx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ProviderControls/App_LocalResources/BlackBerry5_Settings.ascx.resx
index b51b235f..c488c21d 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ProviderControls/App_LocalResources/BlackBerry5_Settings.ascx.resx
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ProviderControls/App_LocalResources/BlackBerry5_Settings.ascx.resx
@@ -112,14 +112,17 @@