]> arthur.barton.de Git - netatalk.git/commitdiff
Install functional PAM config file to PAM include directory
authorRalph Boehme <sloowfranklin@gmail.com>
Mon, 17 Dec 2012 14:39:00 +0000 (15:39 +0100)
committerRalph Boehme <sloowfranklin@gmail.com>
Mon, 17 Dec 2012 14:39:00 +0000 (15:39 +0100)
Install a PAM config file which includes the 'other' service.
Fixes bug #481.

NEWS
macros/pam-check.m4

diff --git a/NEWS b/NEWS
index 9ae8ad59b8dce2ef453dc037e9baf264d3d90b75..12291fc2ea353089ef80bc2734f9d0deb06514b8 100644 (file)
--- 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
 ================
index 6bc40cbad841562161bf2c1a6a1f3cd776cdb5e4..1f40646bee27379c13e76a78dad5d3ef88f6f3d6 100644 (file)
@@ -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