From e19f6f480399702966799a86a084cb2e4866a67f Mon Sep 17 00:00:00 2001 From: Jan Pazdziora Date: Thu, 16 Jan 2014 09:53:11 +0800 Subject: Amend documentation to show mod_authnz_pam loading. --- README | 16 ++++++++++++---- intercept_form_submit.conf | 1 + mod_intercept_form_submit.spec | 5 ++++- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/README b/README index c5bcf15..36c6986 100644 --- a/README +++ b/README @@ -24,9 +24,15 @@ validation (see the docs/ directory for outline of the interaction). Module configuration -------------------- -The module needs to be configured for Location that the application -uses to process the login form POST requests. The configuration has to -specify three values: +Module mod_authnz_pam needs to be installed and loaded with + + LoadModule authnz_pam_module modules/mod_authnz_pam.so + +because mod_intercept_form_submit uses it to do the actual PAM operations. + +The mod_intercept_form_submit module needs to be configured for Location +that the application uses to process the login form POST requests. The +configuration has to specify three values: InterceptFormPAMService name_of_the_PAM_service @@ -71,6 +77,8 @@ Optional parameters: Example: + LoadModule intercept_form_submit_module modules/mod_intercept_form_submit.so + LoadModule authnz_pam_module modules/mod_authnz_pam.so InterceptFormPAMService http_application_sss InterceptFormLogin login[login] @@ -106,7 +114,7 @@ should build and install the module. License ------- -Copyright 2013 Jan Pazdziora +Copyright 2013--2014 Jan Pazdziora Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/intercept_form_submit.conf b/intercept_form_submit.conf index b67de56..b4511d1 100644 --- a/intercept_form_submit.conf +++ b/intercept_form_submit.conf @@ -1,5 +1,6 @@ # LoadModule intercept_form_submit_module modules/mod_intercept_form_submit.so +# LoadModule authnz_pam_module modules/mod_authnz_pam.so # # # InterceptFormPAMService http_application_sss diff --git a/mod_intercept_form_submit.spec b/mod_intercept_form_submit.spec index a64a1c5..c69df5b 100644 --- a/mod_intercept_form_submit.spec +++ b/mod_intercept_form_submit.spec @@ -6,7 +6,7 @@ Summary: Apache module to intercept login form submission and run PAM authentication. Name: mod_intercept_form_submit -Version: 0.9.3 +Version: 0.9.4 Release: 1%{?dist} License: ASL 2.0 Group: System Environment/Daemons @@ -56,6 +56,9 @@ install -Dp -m 0644 intercept_form_submit.conf $RPM_BUILD_ROOT%{_httpd_confdir}/ %{_httpd_moddir}/*.so %changelog +* Thu Jan 16 2014 Jan Pazdziora - 0.9.4-1 +- Amend documentation to show mod_authnz_pam loading. + * Wed Jan 15 2014 Jan Pazdziora - 0.9.3-1 - Move the processing to the middle of the fixup phase to allow mod_headers to process the result. -- cgit