Fixed BlackBerry 5 Provider: admin tool now invoked with the -n <FQDN> option.

Ensure you configure the FQDN in the provider configuration e.g.
bes01.hosting.local:3443
This commit is contained in:
robvde 2012-07-31 17:19:10 +04:00
parent 6942c229fe
commit aee7e0f358
7 changed files with 78 additions and 20 deletions

View file

@ -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
{