Feature #21
PAM based user authentication
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-nethgui | |||
Target version: | Sigma | |||
Resolution: | NEEDINFO: |
Description
Authentication module based on PAM
Related issues
Associated revisions
Nethgui/Module: Added PAM Authentication Module. Refs #21 - PAM based user authentication
Module/Authorization: added translations and Login template - Refs #21 PAM based user authentication
Nethgui Module: Removed authentication composite, added standalon Login & Logout modules - Refs #21
Utility: in SessionInterface, start/end methods renamed login/logout - Refs #21 PAM based user authentication.
Authorization: added `groups` credential initialization in PAM authentication - Refs #21 PAM based user authentication
Updated unit tests
Nethgui\Framework: user redirected to Login module if not authenticated - Refs #21 - PAM based user authentication
History
#1 Updated by Davide Principi over 10 years ago
- Category set to 2
#2 Updated by Davide Principi over 10 years ago
- Start date deleted (
03/28/2011)
#3 Updated by Davide Principi about 10 years ago
- Target version changed from Phi to Sigma
#4 Updated by Davide Principi almost 10 years ago
- Priority changed from Normal to Low
#5 Updated by Davide Principi over 9 years ago
- Status changed from NEW to TRIAGED
- Assignee set to Davide Principi
#6 Updated by Davide Principi over 9 years ago
Install PAM PECL module:
- yum install pam-devel
- pecl install PAM
Edit (or create) /etc/php.d/pam.ini
:
;
; /etc/php.d/pam.ini
;
; Enable the PAM module
;
; See http://pecl.php.net/package/PAM
; See http://dev.nethserver.org/issues/21
;
extension=pam.so
Edit (or create) /etc/pam.d/php
:
#
# /etc/pam.d/php
#
# note: both an auth and account entry are required
#
# See http://dev.nethserver.org/issues/21
#
auth required pam_env.so
auth sufficient pam_ldap.so
account sufficient pam_ldap.so
Restart the web server
#7 Updated by Davide Principi over 9 years ago
- Status changed from TRIAGED to MODIFIED
- % Done changed from 0 to 100