summaryrefslogtreecommitdiff
path: root/source3/nsswitch/pam_winbind.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-04-11 15:18:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:59 -0500
commitadc0a34cebfcd84b1886a8b1ddb8eecfd6fb1e1a (patch)
tree4ceedef0288b88c76a8824fb2e9e9a4a428885c8 /source3/nsswitch/pam_winbind.h
parent33788e5883b2d4e08a0d613044159df663162200 (diff)
downloadsamba-adc0a34cebfcd84b1886a8b1ddb8eecfd6fb1e1a.tar.gz
samba-adc0a34cebfcd84b1886a8b1ddb8eecfd6fb1e1a.tar.bz2
samba-adc0a34cebfcd84b1886a8b1ddb8eecfd6fb1e1a.zip
r15040: Stripping the parametric options in pam_winbind and use
/etc/security/pam_winbind.conf as config file for the PAM module by default. Guenther (This used to be commit 41b79ee80c7b0f4836ded51d42c7dc91cba75ccd)
Diffstat (limited to 'source3/nsswitch/pam_winbind.h')
-rw-r--r--source3/nsswitch/pam_winbind.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/nsswitch/pam_winbind.h b/source3/nsswitch/pam_winbind.h
index 8d2239aa11..89553ebfc3 100644
--- a/source3/nsswitch/pam_winbind.h
+++ b/source3/nsswitch/pam_winbind.h
@@ -26,6 +26,10 @@
#define PAM_SM_ACCOUNT
#define PAM_SM_PASSWORD
+#ifndef PAM_WINBIND_CONFIG_FILE
+#define PAM_WINBIND_CONFIG_FILE "/etc/security/pam_winbind.conf"
+#endif
+
#include <iniparser.h>
#if defined(SUNOS5) || defined(SUNOS4) || defined(HPUX) || defined(FREEBSD) || defined(AIX)
@@ -110,8 +114,6 @@ do { \
#include "winbind_client.h"
-#include <dynconfig.h>
-
#define PAM_WB_REMARK_DIRECT(h,x)\
{\
const char *error_string = NULL; \