Set up TTP for Windows Authentication
This topic reviews the steps needed to set up Trimble Technician Portal (TTP) for Windows Authentication.
You must know your Windows domain controller IP address before completing the setup.
-
Use File Explorer to open the Server API web.config file in a text editor, such as Notepad or Notepad++.
-
Update the web.config file.
Add a new connection string for the LDAP server.
Example:
<add name="ADConnectionString" connectionString="LDAP://10.60.10.21/OU=People,DC=tmwsystems,DC=com" />
Replace the LDAP IP address shown here (DC=tmwsystems,DC=com) with the IP address of your Windows domain controller.
-
Add the membership provider for Active Directory under system.web using the connection string added in Step 2.
Example:
<membership defaultProvider="ADMembershipProvider">
<providers>
<clear/>
<add name="ADMembershipProvider"
type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ADConnectionString"
attributeMapUsername="sAMAccountName"></add>
</providers>
</membership>
The connection string name you enter here must match the one you entered in Step 2 exactly (such as connectionStringName="ADConnectionString"). Any error in the name will break the setup.
For more information, see TMT AMS Windows Authentication User Guide.