summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-10-05 20:05:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:13 -0500
commit05109131b0541f4e046cc6ad6130f1bbd7eb6a27 (patch)
treed678e2e23e3e3603750d8454c4ab3ac34b6766b2
parentb25c06578681fd96c1a9ef1e7446c2f67cca79ed (diff)
downloadsamba-05109131b0541f4e046cc6ad6130f1bbd7eb6a27.tar.gz
samba-05109131b0541f4e046cc6ad6130f1bbd7eb6a27.tar.bz2
samba-05109131b0541f4e046cc6ad6130f1bbd7eb6a27.zip
r19103: From "Björn JACKE <bjoern@j3e.DE>":
The attached patch cleans up pam_winbind a tiny bit. Instead of making exceptions for all pam implementations except for Linux' it's better to make an exception for the only pam implementation which is different from all the others. This is equivalent to what pam_smb_auth does already. ----------------- Jeremy (This used to be commit 8e5596470822d20740f86585a6cf67240f2face4)
-rw-r--r--source3/nsswitch/pam_winbind.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/pam_winbind.h b/source3/nsswitch/pam_winbind.h
index 0072f67904..0ca30c28aa 100644
--- a/source3/nsswitch/pam_winbind.h
+++ b/source3/nsswitch/pam_winbind.h
@@ -19,7 +19,7 @@
#include <iniparser.h>
-#if defined(SUNOS5) || defined(SUNOS4) || defined(HPUX) || defined(FREEBSD) || defined(AIX)
+#ifndef LINUX
/* Solaris always uses dynamic pam modules */
#define PAM_EXTERN extern