From 8682c32c1aee9b6790276644e44f16613a69ffe6 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 7 Oct 2011 21:06:57 +0200 Subject: nsswitch: Disable uid_wrapper in libwbclient. This way we don't have to link against it in the autoconf build. --- nsswitch/libwbclient/wbc_pam.c | 1 + nsswitch/pam_winbind.c | 2 ++ nsswitch/wb_common.c | 2 ++ 3 files changed, 5 insertions(+) (limited to 'nsswitch') diff --git a/nsswitch/libwbclient/wbc_pam.c b/nsswitch/libwbclient/wbc_pam.c index 585dfcfaf6..0aa180ca05 100644 --- a/nsswitch/libwbclient/wbc_pam.c +++ b/nsswitch/libwbclient/wbc_pam.c @@ -23,6 +23,7 @@ /* Required Headers */ +#define UID_WRAPPER_NOT_REPLACE #include "replace.h" #include "libwbclient.h" #include "../winbind_client.h" diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c index e59a6d8ea1..04977267c9 100644 --- a/nsswitch/pam_winbind.c +++ b/nsswitch/pam_winbind.c @@ -10,6 +10,8 @@ (see copyright below for full details) */ +#define UID_WRAPPER_NOT_REPLACE + #include "pam_winbind.h" static int wbc_error_to_pam_error(wbcErr status) diff --git a/nsswitch/wb_common.c b/nsswitch/wb_common.c index 80c729a3b6..c56a76f826 100644 --- a/nsswitch/wb_common.c +++ b/nsswitch/wb_common.c @@ -22,6 +22,8 @@ along with this program. If not, see . */ +#define UID_WRAPPER_NOT_REPLACE + #include "replace.h" #include "system/select.h" #include "winbind_client.h" -- cgit