summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/pam_winbind.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-02-01 13:03:39 +0100
committerVolker Lendecke <vl@samba.org>2008-02-01 13:06:23 +0100
commite26ba6a3c6bf54b426b55c4ca0b9db98cd0d7b75 (patch)
tree459c8c40c9c04067bcb34546a5307e7d072f16bb /source/nsswitch/pam_winbind.h
parentf34c0e7ada8ce625ee20e3d776e41dabbad71ce5 (diff)
downloadsamba-e26ba6a3c6bf54b426b55c4ca0b9db98cd0d7b75.tar.gz
samba-e26ba6a3c6bf54b426b55c4ca0b9db98cd0d7b75.tar.xz
samba-e26ba6a3c6bf54b426b55c4ca0b9db98cd0d7b75.zip
NetBSD needs PAM_SM_SESSION
Otherwise no prototype for pam_sm_close_session is defined
Diffstat (limited to 'source/nsswitch/pam_winbind.h')
-rw-r--r--source/nsswitch/pam_winbind.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/nsswitch/pam_winbind.h b/source/nsswitch/pam_winbind.h
index 6ec564fe71c..a1d32726f5c 100644
--- a/source/nsswitch/pam_winbind.h
+++ b/source/nsswitch/pam_winbind.h
@@ -12,6 +12,7 @@
#define PAM_SM_AUTH
#define PAM_SM_ACCOUNT
#define PAM_SM_PASSWORD
+#define PAM_SM_SESSION
#ifndef PAM_WINBIND_CONFIG_FILE
#define PAM_WINBIND_CONFIG_FILE "/etc/security/pam_winbind.conf"