We have a custom MembershipProvider implementation using form-based authentication (FBA) under Sharepoint 2007.

I've searched high and low on Google, but only found:

  • Active directory and FBA implementations to allow users to change their own password
  • Active directory instructions (including video!) for administrators to change other users' passwords

Have we missed an option to enable the latter under FBA? Should this work by default and is the MembershipProvider misbehaving?

The procedure to do this as under active directory would be ideal, but the "Change Password" link does not appear in the Edit User screen. We verified that the logged-in user is a site collection administrator.

link|improve this question

80% accept rate
feedback

2 Answers

up vote 0 down vote accepted

You need to add appropriate option by yourself.

You can see example implementation in the CKS FBA project at CodePlex:

  1. page UserEdit.aspx contains button BtnReset,
  2. when it is clicked, method OnResetPassword from file UserEdit.cs is called.
link|improve this answer
The page in question is _layouts/userdisp.aspx. We decided going down this route was too complicated, but I think this would work so I'm going to mark this answer as accepted. Thanks! – Jon Seigel Jan 4 '11 at 14:27
feedback

Your forms based authentication was probably built in house (you mention that it is custom). The developers would need to include a way for you to do this. Short of that, find the table which stores the usernames and passwords and just change the password. If it is encrypted you can probably just copy the password from an account which you know the password to, but this doesn't always work depending on how the password is salted.

link|improve this answer
1  
The MembershipProvider was built in-house, but the UI is standard. There's no need to go hacking in the database. If the provider isn't fully implemented, then I can deal with that. I'm looking for a common solution (it looks as though there may not be one) before writing a custom solution. – Jon Seigel Jan 3 '11 at 21:15
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.