我正在尝试在Kentico中集成AD身份验证。它在事件查看器中使用错误消息进行身份验证时仍然失败,如下所示:
Event code: 4006
Event message: Membership credential verification failed.
Event time: 4/29/2016 2:01:41 PM
Event time (UTC): 4/29/2016 8:31:41 AM
Event ID: 2feb1b6bc79f4da19d398241d4c4a3fd
Event sequence: 2
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/11/ROOT-22-131063922814527564
Trust level: Full
Application Virtual Path: /
Application Path: C:\inetpub\wwwroot\Kentico9\CMS\
Machine name: BG4WS0612
Process information:
Process ID: 8820
Process name: iisexpress.exe
Account name: SONATA\vikash.kr
Request information:
Request URL: http://localhost:1469/CMSPages/logon.aspx?ReturnUrl=/
Request path: /CMSPages/logon.aspx
User host address: ::1
User: administrator
Is authenticated: True
Authentication Type: Forms
Thread account name: SONATA\vikash.kr
Name to authenticate: vikash.kr
Custom event details:
请参阅我的网络配置设置:
<connectionStrings>
<clear/>
<add name="CMSConnectionString" connectionString="Data Source=BG4WS0612;Initial Catalog=Kentico9;Integrated Security=False;User ID=sa;Password=axxxxxxx;Connect Timeout=60"/>
<add name="CMSADConnectionString" connectionString="LDAP://1xx.2x.15x.15x/DC=QTLxxxxLT,DC=LOCAL"/>
</connectionStrings>
见下文:
<membership defaultProvider="CMSProvider" userIsOnlineTimeWindow="30">
<providers>
<clear/>
<add name="CMSProvider" type="CMS.MembershipProvider.CMSMembershipProvider" connectionStringName="CMSConnectionString" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="true"/>
<remove name="CMSADProvider"/>
<add name="CMSADProvider" type="CMS.MembershipProvider.CMSADMembershipProvider" connectionStringName="CMSADConnectionString" connectionUsername="QTxxRSLT\vikash.kr" connectionPassword="xxxx23"/>
</providers>
</membership>
请让我知道我做错了什么?