1. Open the web.config file for Risk Manager Portal using Notepad. Locate the Membership group below:
<!-- <add name="Membership" type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ldap" connectionUsername = "" connectionPassword = "" connectionProtection="Secure" attributeMapUsername="sAMAccountName" enableSearchMethods="true" /> --> |
Remove the <!-- and --> characters found at the beginning and end of the Membership group. In the Membership group, include information on the user account used for authentication, as shown below:
<add name="Membership" type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ldap" connectionUsername = "Domain\Username" connectionPassword = "Password" connectionProtection="Secure" attributeMapUsername="sAMAccountName" enableSearchMethods="true" /> |
2. Locate the Membership group below:
<add name="Membership" type="Modulo.RiskManager.Web.Providers.RMMembershipProvider, Modulo.RiskManager.Web.Providers" connectionStringName="ngsql" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" passwordStrengthRegularExpression="" /> |
Insert <!-- at the beginning of the Membership group and insert --> at the end of this group, as shown below:
<!-- <add name="Membership" type="Modulo.RiskManager.Web.Providers.RMMembershipProvider, Modulo.RiskManager.Web.Providers" connectionStringName="ngsql" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" passwordStrengthRegularExpression="" /> --> |
3. Lastly, locate the configuration line below:
<add name="ldap" connectionString="LDAP://[LDAP ADDRESS]" /> |
Insert the connection address with the Active Directory server, as shown below:
<add name="ldap" connectionString="LDAP://10.10.10.10:389" /> |
4. In Notepad, click File and then click Save. Close Notepad.