Configure Windows authentication
Windows
authenticationAfter installing
NDS
, you can configure it to use Windows
authentication for SQL authentication.- Create aWindowsservice account with the following access and privileges:
- Have SQL access and be the database owner of the three ngdelivery databases.
- Be able to run the athocdelivery service on theNDSserver.
- Be able to run the IIS application pools on theNDSservice. There should be two application pools.
- Have full access to thec:\windows\tempfolder.
- Have full access to the folders where the databases reside.
- Change the owner of the databases fromngadto theWindowsservice account:
- OpenMicrosoft SQL ServerManagement Studio.
- ExpandDatabases.
- For each ngdelivery database, right click and selectProperties.
- On theDatabase Propertieswindow, clickFilesand click the browse icon to select the username of theWindowsservice account.
- ClickBrowse.
- On theBrowse for Objectswindow, select theWindowsservice account username.
- ClickOK.
- Update the database connection string in the System Registry.
- Open the Registry:
- ClickStartand typeregedit.
- Right-click the regedit icon and clickRun as administrator.
- In theRegistry, navigate toHKEY_LOCAL_MACHINE>SOFTWARE>Wow6432Node>AtHocServer.
- UnderAtHocServerchange the values of OleDbConnectionString:
- Delete the SQL login info: User Id=ngad;Password=<ngadpassword>;Provider=SQLOLEDB;Server=<server\instance>;Initial Catalog=ngaddata;User Id=ngad;Password=<ngadpassword>;
- Add theWindowsauthentication parameter: Integrated Security=SSPI;Provider=SQLOLEDB;Server=<server\instance>;Initial Catalog=ngaddata;Integrated Security=SSPI;
- ClickOKand exitRegedit.
- Optionally, forAtHocauthentication throughWindows, modify the service login to use the domain account.
- From the database server, clickStartand open theControl Panel.
- ClickSystem and Security>Administration Tools>Services.
- Right clickAtHocDeliveryServiceand selectProperties.
- On theAtHocDeliveryServices Propertieswindow, select theLog Ontab.The default setup is “Local System Account”.
- To modify the account information forMicrosoft SQL ServerWindowsAuthentication, selectThis Account.
- Fill in yourWindowsService Account credentials and clickOK.