locked
Sharepoint 2010 Authentication with AD not working RRS feed

  • Question

  • Hi all,

    Am using the Microsoft.Office.Server.Security.LdapMembershipProvider,Microsoft.Office.Server.Security.LdapRoleProvider to authenicate user against AD.

    I have given the AD details in 3 web.configs Web,Central admin, Security token.

    Am able to retriew users in all places on searching for users. Places like add users inside group of web application, on creating new site collection am able to get users.

    Then it seems provider is working.

    But am not able to login. On authentication users against AD am just getting the below exception,

    "An exception occurred when trying to issue security token: The security token username and password could not be validated"

    This is the log from Event viewer. I dont find any logs related t this in 14 Logs.

    Any thing am missing or any hot fix available for this.

    on further debugging on enabling diagnostic logging got the below exception details,

    Password check on 'user_test' generated exception: 'System.ServiceModel.FaultException`1[Microsoft.IdentityModel.Tokens.FailedAuthenticationException]: The security token username and password could not be validated. (Fault Detail is equal to Microsoft.IdentityModel.Tokens.FailedAuthenticationException: The security token username and password could not be validated.).'. 


    SPSecurityTokenService.Issue() failed: System.ServiceModel.FaultException`1[Microsoft.IdentityModel.Tokens.FailedAuthenticationException]: The security token username and password could not be validated. (Fault Detail is equal to Microsoft.IdentityModel.Tokens.FailedAuthenticationException: The security token username and password could not be validated.). 


    security token failed with exception: System.ServiceModel.FaultException: The security token username and password could not be validated.     at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.ReadResponse(Message response)     at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.Issue(RequestSecurityToken rst, RequestSecurityTokenResponse& rstr)     at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.Issue(RequestSecurityToken rst)     at Microsoft.SharePoint.SPSecurityContext.SecurityTokenForContext(Uri context, Boolean bearerToken, SecurityToken onBehalfOf, SecurityToken actAs, SecurityToken delegateTo) 35f7e970-b207-4917-9ace-fd92e1dd6031

     

    An exception occurred when trying to issue security token: The security token username and password could not be validated.. 35f7e970-b207-4917-9ace-fd92e1dd6031

    Tuesday, July 24, 2012 5:58 AM