summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
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"