From: Ralph Boehme Date: Mon, 17 Dec 2012 14:39:00 +0000 (+0100) Subject: Install functional PAM config file to PAM include directory X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=commitdiff_plain;h=0213d16eeacedc3e012798b808c8db27506f9a27 Install functional PAM config file to PAM include directory Install a PAM config file which includes the 'other' service. Fixes bug #481. --- diff --git a/NEWS b/NEWS index 9ae8ad59..12291fc2 100644 --- a/NEWS +++ b/NEWS @@ -19,6 +19,8 @@ Changes in 3.0.2 * REM: Remove TimeMachine volume used size FCE event. * UPD: Add quoting support to '[in]valid users' option. Fixes bug #472. +* FIX: Install working PAM config on Solaris 11. + Fixed bug #481. Changes in 3.0.1 ================ diff --git a/macros/pam-check.m4 b/macros/pam-check.m4 index 6bc40cba..1f40646b 100644 --- a/macros/pam-check.m4 +++ b/macros/pam-check.m4 @@ -98,6 +98,13 @@ AC_DEFUN([AC_NETATALK_PATH_PAM], [ PAM_ACCOUNT=system PAM_PASSWORD=system PAM_SESSION=system + dnl Solaris 11+ + elif test -f "$pampath/other" ; then + PAM_DIRECTIVE=include + PAM_AUTH=${PAMDIR}etc/pam.d/other + PAM_ACCOUNT=${PAMDIR}etc/pam.d/other + PAM_PASSWORD=${PAMDIR}etc/pam.d/other + PAM_SESSION=${PAMDIR}etc/pam.d/other dnl Fallback else PAM_DIRECTIVE=required