Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationAD Authentication Works First login then ErrorsAD Authentication Works First login then Errors
Previous
 
Next
New Post
3/9/2016 9:49 AM
 

I seem to remember dealing with this years ago but I'm not able right now to get the right mixture of settings.

DNN 8, AD Authentication 5.0.6, Windows Server 2012 R2 Standard

I installed and configured the module. Then I logged on successfully once with my domain account. On subsequent logins with the same account, the error "This Membership Provider has not been configured to support password retrieval."

Among the things I was reminded of as I searched:

1) modify the PasswordHIstory table to set the "Password" column to allow nulls

2) In Host Settings > Advanced Settings > Membership Management: Uncheck "Enable Password History" ... In an older portal where all is working well, I also see that I have "Enable password strength check" unchecked, but not sure that pertains.

3) In web.config on the working portal I have enablePasswordRetrieval="true" enablePasswordReset="false" passwordFormat="Encrypted"

That's on Windows Server 2008 R2, DNN 7.4, AD Authentication 5.0.6

When I set things up in this manner on the new portal, now the error changes to "Hashed passwords cannot be decoded"

If I change enablePassword="true" on the new portal, the portal errors out and in the server Application log, "

The pre-application start initialization method Start on type WebMatrix.WebData.PreApplicationStartCode threw an exception with the following error message: Configured settings are invalid: Hashed passwords cannot be retrieved. Either set the password format to different type, or set enablePasswordRetrieval to false.

 

"

But when I set enablePasswordRetrieval="false" then the portal stands ok but gives an error in the DNN Event Viewer on domain user login of "Hashed Passwords cannot be retrieved."

 

So - what is the correct configuration mix here to allow not only an initial login from a domain user, but successful subsequent logins as well?

 

 

 


pmgerholdt
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationAD Authentication Works First login then ErrorsAD Authentication Works First login then Errors


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out