summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba/patches/patch-ai')
-rw-r--r--net/samba/patches/patch-ai23
1 files changed, 23 insertions, 0 deletions
diff --git a/net/samba/patches/patch-ai b/net/samba/patches/patch-ai
new file mode 100644
index 00000000000..f258af2c40d
--- /dev/null
+++ b/net/samba/patches/patch-ai
@@ -0,0 +1,23 @@
+$NetBSD: patch-ai,v 1.3 2005/11/14 08:05:27 jlam Exp $
+
+--- nsswitch/pam_winbind.h.orig 2005-10-12 13:03:29.000000000 -0400
++++ nsswitch/pam_winbind.h
+@@ -25,18 +25,12 @@
+ #define PAM_SM_ACCOUNT
+ #define PAM_SM_PASSWORD
+
+-#if defined(SUNOS5) || defined(SUNOS4) || defined(HPUX) || defined(FREEBSD)
+-
+-/* Solaris always uses dynamic pam modules */
+-#define PAM_EXTERN extern
+ #include <security/pam_appl.h>
+
+ #ifndef PAM_AUTHTOK_RECOVER_ERR
+ #define PAM_AUTHTOK_RECOVER_ERR PAM_AUTHTOK_RECOVERY_ERR
+ #endif
+
+-#endif
+-
+ #ifdef HAVE_SECURITY_PAM_MODULES_H
+ #include <security/pam_modules.h>
+ #endif