From d1e695b5d0323167d37eee340718eb5e65138716 Mon Sep 17 00:00:00 2001 From: Martin Kosek Date: Wed, 6 Jun 2012 14:38:08 +0200 Subject: Password change capability for form-based auth IPA server web form-based authentication allows logins for users which for some reason cannot use Kerberos authentication. However, when a password for such users expires, they are unable change the password via web interface. This patch adds a new WSGI script attached to URL /ipa/session/change_password which can be accessed without authentication and which provides password change capability for web services. The actual password change in the script is processed by LDAP password change command. Password result is passed both in the resulting HTML page, but also in HTTP headers for easier parsing in web services: X-IPA-Pwchange-Result: {ok, invalid-password, policy-error, error} (optional) X-IPA-Pwchange-Policy-Error: $policy_error_text https://fedorahosted.org/freeipa/ticket/2276 --- install/conf/ipa.conf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'install/conf') diff --git a/install/conf/ipa.conf b/install/conf/ipa.conf index 89c9849ca..b52d9d2ff 100644 --- a/install/conf/ipa.conf +++ b/install/conf/ipa.conf @@ -1,5 +1,5 @@ # -# VERSION 4 - DO NOT REMOVE THIS LINE +# VERSION 5 - DO NOT REMOVE THIS LINE # # LoadModule auth_kerb_module modules/mod_auth_kerb.so @@ -72,6 +72,12 @@ KrbConstrainedDelegationLock ipa Allow from all + + Satisfy Any + Order Deny,Allow + Allow from all + + # This is where we redirect on failed auth Alias /ipa/errors "/usr/share/ipa/html" -- cgit