Adapted Enterprise Importer for 2.0:

samAccountName is now needed for more (all) kinds of accounts, make sure that
it is imported correctly
This commit is contained in:
VoosW 2012-11-02 20:18:32 +01:00
parent 2eea4614ce
commit bc8c122d81
3 changed files with 27 additions and 8 deletions

View file

@ -100,6 +100,7 @@ namespace WebsitePanel.Import.Enterprise
Global.TempDomain = serviceSettings["TempDomain"];
ServerInfo serverInfo = ServerController.GetServerById(serviceInfo.ServerId);
Global.ADRootDomain = serverInfo.ADRootDomain;
Global.NetBiosDomain = ActiveDirectoryUtils.GetNETBIOSDomainName(Global.ADRootDomain);
}
private void OnBrowseOU(object sender, EventArgs e)