Feature #21

PAM based user authentication

Added by Davide Principi over 10 years ago. Updated over 8 years ago.

Status:CLOSEDStart date:
Priority:LowDue date:
Assignee:-% Done:

100%

Category:nethserver-nethgui
Target version:Sigma
Resolution: NEEDINFO:

Description

Authentication module based on PAM


Related issues

Related to Nethgui - Task #524: User module: complete change-password action CLOSED 09/27/2011

Associated revisions

Revision 01f0e022
Added by Davide Principi over 9 years ago

Nethgui/Module: Added PAM Authentication Module. Refs #21 - PAM based user authentication

Revision d8a99613
Added by Davide Principi over 9 years ago

Module/Authorization: added translations and Login template - Refs #21 PAM based user authentication

Revision 6cab22aa
Added by Davide Principi over 9 years ago

Nethgui Module: Removed authentication composite, added standalon Login & Logout modules - Refs #21

Revision 243a7654
Added by Davide Principi over 9 years ago

Nethgui: completed login/logout procedure. Refs #21 - PAM based user authentication

  • added GroupBasedPolicyDecisionPoint stub Refs #22 - Authorization control

Revision 7a38a6a5
Added by Davide Principi over 9 years ago

Utility: in SessionInterface, start/end methods renamed login/logout - Refs #21 PAM based user authentication.

Revision 4f10b803
Added by Davide Principi over 9 years ago

Authorization: added `groups` credential initialization in PAM authentication - Refs #21 PAM based user authentication

Updated unit tests

Revision 7cbf3cf2
Added by Davide Principi over 9 years ago

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:

  1. yum install pam-devel
  2. 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

Also available in: Atom PDF