summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-10-07 21:06:57 +0200
committerAndreas Schneider <asn@samba.org>2011-10-27 13:32:01 +0200
commit8682c32c1aee9b6790276644e44f16613a69ffe6 (patch)
treea4f5c131d9d6a2af7b8eadb715135ddaaf40dfa8 /nsswitch
parentf53096032d271360225b71a4bd258f717ac8d6e2 (diff)
downloadsamba-8682c32c1aee9b6790276644e44f16613a69ffe6.tar.gz
samba-8682c32c1aee9b6790276644e44f16613a69ffe6.tar.bz2
samba-8682c32c1aee9b6790276644e44f16613a69ffe6.zip
nsswitch: Disable uid_wrapper in libwbclient.
This way we don't have to link against it in the autoconf build.
Diffstat (limited to 'nsswitch')
-rw-r--r--nsswitch/libwbclient/wbc_pam.c1
-rw-r--r--nsswitch/pam_winbind.c2
-rw-r--r--nsswitch/wb_common.c2
3 files changed, 5 insertions, 0 deletions
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 @@
<sopwith@redhat.com> (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 <http://www.gnu.org/licenses/>.
*/
+#define UID_WRAPPER_NOT_REPLACE
+
#include "replace.h"
#include "system/select.h"
#include "winbind_client.h"