From adc0a34cebfcd84b1886a8b1ddb8eecfd6fb1e1a Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 11 Apr 2006 15:18:46 +0000 Subject: 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) --- source3/nsswitch/pam_winbind.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source3/nsswitch/pam_winbind.h') 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 #if defined(SUNOS5) || defined(SUNOS4) || defined(HPUX) || defined(FREEBSD) || defined(AIX) @@ -110,8 +114,6 @@ do { \ #include "winbind_client.h" -#include - #define PAM_WB_REMARK_DIRECT(h,x)\ {\ const char *error_string = NULL; \ -- cgit