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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesModule User Password RetrieveModule User Password Retrieve
Previous
 
Next
New Post
10/18/2010 1:18 PM
 
Hello,


I have created a module which retrieve the password of active user




myUser = UserController.GetCurrentUserInfo();
userName = myUser.Username;
passWord = UserController.GetPassword(ref myUser, myUser.Username);



I have two instalations of DNN. In the first server, i recieve the correct password in text plain. But in the other server only recieve numbers.


I thought that the second server retrieved me the password in hash mode.




But In the webconfigs has the same line : passwordFormat= "Encryted"


<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider"
connectionStringName="SiteSqlServer" enablePasswordRetrieval="true"
enablePasswordReset="true" requiresQuestionAndAnswer="false" minRequiredPasswordLength="7"
minRequiredNonalphanumericCharacters="0" requiresUniqueEmail="false"
passwordFormat="Encrypted" applicationName="DotNetNuke" description="Stores and retrieves
membership data from the local Microsoft SQL Server database"/>



Are there any parameter in configuration which can produce that?




Any ideas??




Thanks and sorry by my poor english.
 
New Post
10/21/2010 6:55 PM
 
Are you sure you're not retrieving a host (superuser) password - by default DotNetNuke will only return a series of asterisks ("*******") rather than the password. Also, please note password retrieval is only support for Cleartext and Encrypted passwords - hashing is a 1-way operation, so only password resets are supported.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
10/22/2010 12:22 PM
 
Hello,


Thanx for your reply. 
I have discovered that the problem is in the authetication mode.


The first server uses DNN Authetication, it shows the user's password correctly. But the other server is authenticating with the Active Directory. This server only shows numbers when it is showing the password.


I am going to investigate in dnn's code for reminder password. when it sends the mail.


But i haven't more ideas.

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesModule User Password RetrieveModule User Password Retrieve


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