Fixed: When webhosting netbios settings are empty, an attempt is made to
configure a domain account.
This commit is contained in:
parent
c6d40aedb8
commit
645fa48d1c
1 changed files with 2 additions and 2 deletions
|
@ -2490,7 +2490,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
WebServer server = GetWebServer(item.ServiceId);
|
||||
|
||||
StringDictionary webSettings = ServerController.GetServiceSettings(item.ServiceId);
|
||||
if (webSettings["WmSvc.NETBIOS"] != null)
|
||||
if (!String.IsNullOrEmpty(webSettings["WmSvc.NETBIOS"]))
|
||||
{
|
||||
accountName = webSettings["WmSvc.NETBIOS"].ToString() + "\\" + accountName;
|
||||
}
|
||||
|
@ -3258,7 +3258,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
WebServer server = GetWebServer(item.ServiceId);
|
||||
|
||||
StringDictionary webSettings = ServerController.GetServiceSettings(item.ServiceId);
|
||||
if (webSettings["WmSvc.NETBIOS"] != null)
|
||||
if (!String.IsNullOrEmpty(webSettings["WmSvc.NETBIOS"]))
|
||||
{
|
||||
accountName = webSettings["WmSvc.NETBIOS"].ToString() + "\\" + accountName;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue