Thread: Ad Login
View Single Post
 
Old November 13th, 2008, 03:09 AM
yinkasaro yinkasaro is offline
Registered User
 
Join Date: Nov 2008
Location: Lagos, Lagos, Nigeria.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Stefan,

Thank you for your quick response. I have changed the user id and password to an account on my domain, and the account is an administrator on the domain.

this is the web.config settings:

 <add name="DirectoryConnection" connectionString="LDAP://HQDC06.Sterlingbank.com"/>

<membership defaultProvider="adminprovider">
    <providers>
        <clear/>


<add name="adminprovider"
        type="System.Web.Security.ActiveDirectoryMembershi pProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
        enableSearchMethods="true"
        connectionUsername="Test03@sterlingbank.com"
        connectionPassword="1234568"
        attributeMapPasswordQuestion="ampPasswordQuestion"
        attributeMapPasswordAnswer="ampPasswordAnswer"
        attributeMapFailedPasswordAnswerCount="ampFailedPa sswordAnswerCount"
        attributeMapFailedPasswordAnswerTime="ampFailedPas swordAnswerTime"
        attributeMapFailedPasswordAnswerLockoutTime="ampFa iledPasswordAnswerLockoutTime"
        enablePasswordReset="true"
        requiresQuestionAndAnswer="true"
        connectionStringName="DirectoryConnection" />
<add name="readonlyprovider"
        type="System.Web.Security.ActiveDirectoryMembershi pProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
        enableSearchMethods="true"
        connectionUsername="test03@sterlingbankng.com"
        connectionPassword="1234568"
        attributeMapPasswordQuestion="ampPasswordQuestion"
        attributeMapPasswordAnswer="ampPasswordAnswer"
        attributeMapFailedPasswordAnswerCount="ampFailedPa sswordAnswerCount"
        attributeMapFailedPasswordAnswerTime="ampFailedPas swordAnswerTime"
        attributeMapFailedPasswordAnswerLockoutTime="ampFa iledPasswordAnswerLockoutTime"
        enablePasswordReset="true"
        requiresQuestionAndAnswer="true"
        connectionStringName="DirectoryConnection" />
</providers>
</membership>

Regards,
Yinka Onisarotu