HOW TO: Setup Windows Integrated Security - V4.0 or higher
Summary
RMTrack supports "single sign-on" access to RMTrack through the use of Windows Integrated Security.
There are several ways to configure authentication, and depending on your local network configuration some choices may be more appropriate than others. The steps outlined below are for a "typical" network, and may not be 100% appropriate for your environment. Please consult a qualified systems administrator or the RMTrack Support team to obtain a full range of available options.
Users that are not logged onto your network (domain) that attempt accessing RMTrack will be presented with the standard browser login dialog box to get access to RMTrack.
Users that are logged onto your network (domain) that attempt to access RMTrack will have their Windows user matched with either the RMTrack User Id or the RMTrack Secondary User Id (see below). If RMTrack finds a matching user id the user will be automatically logged into RMTrack as that user. If there is no match, they will be directed to a "Not Authorized" page.
USER ID’S
When using Windows Integrated Security for single sign-on access RMTrack continues to maintain an internal user table. The RMTrack UserId must match the Windows UserId. If your windows user id is "mydomain\mywindowsid" then your RMTrack user id must be "mywindowsid".
Existing user id's may need to be renamed. Do this prior to implementing Windows Integrated Security.
Alternately, RMTrack can use a "Secondary User Id". This option can be turned on AFTER Windows Integrated Security is working (see below).
SQL SERVER AUTHENTICATION ("FRONT TO BACK" OR "2-HOP" AUTHENTICATION)
This article does not address full front to back authentication, i.e. Windows Authentication for both the web server and the SQL Server. That type or authentication is possible but requires the assistance of qualified System Administrators and/or the RMTrack Support team.
This article assumes that the RMTrack database connection to the SQL Server uses SQL Server Authentication Mode.
STEPS TO ACTIVATE WINDOWS INTEGRATED SECURITY FOR RMTRACK
STEP 1: DATABASE SERVER CONNECTION
If you are already using SQL Server Authentication Mode for your connection to the RMTrack database you can skip these steps and proceed to STEP 2: INTERNET INFORMATION SERVICES (IIS) WEB SERVER AUTHENTICATION.
To check if you are using SQL Server authentication:
...On the web server:
- Locate the database connection file for RMTrack. Default location is: c:\Intepub\wwwoot\RMT\DbConnection.udl
- Double-click this file to open.
- On the Connection tab if the "Use a specific user name and password option is active, you can skip to Step 2 Web Server.
- If the "Use Windows NT Integrated security" option is selected, continue...
...On the SQL Server:
- Make sure SQL Mode logins are allowed:
- Open SQL Server Management Studio and connect to your SQL Server
- Right-click on the Server and select Properties
- Switch to "Security" and make sure the Server Authentication setting is set to "SQL Server and Windows Authentication mode"
- Define a new SQL user id for RMTrack (eg. RMTrackAppUser)
- Open SQL Server Management Studio and connect to your SQL Server
- Plus open Server > Security > right-click Logins > New
- Provide a name (eg. RMTrackAppUser)
- Set to SQL Server Authentication
- Enter password and confirmation
- Uncheck "Enforce password policy"
- Define Roles and Mapping
- If you are using the RMTrack Integrated Database Backup you must set the above user to sysadmin on the Server Roles page
- OR, if you do not use the RMTrack Integrated Database Backup you can instead go to the User Mapping page, select the RMTrack database, grant db_owner OR db_datareader, db_datawriter and db_ddladmin
...On the Web Server:
- Locate the DbConnection.udl file. Default location is: c:\Intepub\wwwoot\RMT\DbConnection.udl
- Double click it, change to the "Connection" tab
- Select the "Use a specific user name and password option"
- Specify the UserId/Password created in step 2 above
- Check the "Allow saving password" option
- Click "Test Connection" button to ensure the connection works
- Click OK to save the changes
- Verify that you can still access RMTrack.
STEP 2: INTERNET INFORMATION SERVICES (IIS) WEB SERVER AUTHENTICATION
In the RMTrack application make sure that at least one of the Site Administrators has a user id that matches your (or someone’s) windows user id. Preferably the user you are currently logged onto the web server as.
...for IIS 6 (Windows Server 2003)
- Locate the Web.config file. Default location is: c:\inetpub\wwwwroot\rmt\web.config.
- Right click on the Web.config file and select "edit" to edit the file
- Change the line:
<authentication mode="Forms">
TO<authentication mode="Windows">
- Save the Web.config file
- Start IIS Manager (Start > All Programs > Administrative Tools->Internet Information Services)
- Locate the RMTrack virtual directory (by default this is named RMT and located in the Default Website)
- Right click and select "Properties", switch to the "Directory Security" tab
- Click the "Edit" button in the Anonymous and Authentication control section to display the Authentication Methods dialog.
- Disable Anonymous Access, enable Integrated Windows Authentication (should be the only option checked)
- Click OK to close the Authentication Methods dialog
- Click OK to close the virtual directory Properties dialog
- Start a new browser and go to the RMTrack url
- If you are not logged in, or are prompted for user id and password, then "something" has gone wrong. Please note exactly what message/prompt was displayed and send it to support@rmtrack.com.
...for IIS 7 and 7.5 (Windows Server 2008 and 2008 R2)
IIS 7 does not come with the Windows Authentication "Role" active. You may need to install that role:
- Start Server Manager (Start > Administrative Tools > Server Manger)
- Plus open Roles > Web Server
- In the left pane scroll down to Role Services > Security
- Windows Authentication must be "Installed", if it is not then install it (Add Role Services)
- Close Server Manager
After the Windows Authentication "Role" has been installed you then use the IIS Manager to enable Windows Authentication:
- Start IIS Manager (Start > All Programs > Administrative Tools->Internet Information Services)
- Plus open to RMTrack web site: Server > Sites > Default Web Site > RMT
- In the right side pane, under IIS, right click Authentication and select Open Feature
- DISABLE Forms Authentication
- ENABLE Windows Authentication
- Close IIS Manager
- Start a new browser and go to the RMTrack url
- If you are not logged in, or are prompted for user id and password, then "something" has gone wrong. Please note exactly what message/prompt was displayed and send it to support@rmtrack.com.
STEP 3: SWITCH TO RMTRACK SECONDARY USER ID (OPTIONAL)
In some organizations it might be desirable to connect to RMTrack using a "Secondary user ids", these are useful when the Windows ids are meaningless e.g. "5935jd" instead of "John Doe". To activate Secondary user id’;
- Logon to RMTrack as a Site Administrator
- Go to: Administration > System > Site Options > Authentication Settings
- Check "Use Secondary User Id and Save the Site Option
- Go to: Administration > Users > Open your own user record
- Put your same user id into the Windows User Id field and save the user
- Logoff and close the browser
- Open a new browser and access RMTrack – you should be logged on as the same user. If this doesn’t happen then "something" has gone wrong. Please note exactly what message/prompt was displayed and send it to support@rmtrack.com.
- If you are logged on then now you want to go and set all the Secondary User ids to match your windows user ids.
ASSISTANCE
We strongly recommend clients involve a qualified system administrator to make these configuration changes. We also recommend clients attempt these changes in a test environment first, to make certain everything will go smoothly. RMTrack support can be available for telephone support at the time when a client is making these changes (end of business day or a weekend is recommended so as not to impact active users).
Applies to
RMTrack Issue Tracking - v4.0 or higher