summaryrefslogtreecommitdiff
path: root/source3/nsswitch
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
commita8d59ebe81cfc8c653c8302a75df6e621cb771c8 (patch)
tree22aa0d234f21c6fe574d2c711e1bf6fe9de46b13 /source3/nsswitch
parenta3b00a3244d4c0368838312968e4875567ea6025 (diff)
downloadsamba-a8d59ebe81cfc8c653c8302a75df6e621cb771c8.tar.gz
samba-a8d59ebe81cfc8c653c8302a75df6e621cb771c8.tar.bz2
samba-a8d59ebe81cfc8c653c8302a75df6e621cb771c8.zip
NetBSD needs PAM_SM_SESSION
Otherwise no prototype for pam_sm_close_session is defined (This used to be commit e26ba6a3c6bf54b426b55c4ca0b9db98cd0d7b75)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/pam_winbind.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nsswitch/pam_winbind.h b/source3/nsswitch/pam_winbind.h
index 6ec564fe71..a1d32726f5 100644
--- a/source3/nsswitch/pam_winbind.h
+++ b/source3/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"