[Freeipa-users] self service password reset
Petr Vobornik
pvoborni at redhat.com
Thu Jul 12 16:43:26 UTC 2012
On 07/11/2012 08:59 PM, KodaK wrote:
> Has anyone rolled out a self-service password reset utility for IPA?
> If so did you use something off the shelf that speaks LDAP or roll
> your own?
>
> I'm looking at this:
>
> http://code.google.com/p/pwm/
>
> But I'm just starting down this path.
>
> Thanks,
>
> --Jason
>
With FreeIPA 3.0 beta 1 it's really easy to write own page for password
reset because of new API for that [1]. You don't have to though. Beta 1
already contains a stand-alone reset page (it was added along with
password reset in forms-based auth)[2]. It looks like this:
http://pvoborni.fedorapeople.org/ui/reset_password.html
Custom page could you code like this, or just plain html form.
data = {
user: username,
old_password: old_password,
new_password: new_password
};
request = {
url: '/ipa/session/change_password',
data: data,
contentType: 'application/x-www-form-urlencoded',
processData: true,
dataType: 'html',
async: false,
type: 'POST',
success: success_handler,
error: error_handler
};
$.ajax(request);
[1] https://fedorahosted.org/freeipa/ticket/2276
[2] https://fedorahosted.org/freeipa/ticket/2755
--
Petr Vobornik
More information about the Freeipa-users
mailing list