nsswitch: Disable uid_wrapper in libwbclient.
authorAndreas Schneider <asn@samba.org>
Fri, 7 Oct 2011 19:06:57 +0000 (21:06 +0200)
committerAndreas Schneider <asn@samba.org>
Thu, 27 Oct 2011 11:32:01 +0000 (13:32 +0200)
This way we don't have to link against it in the autoconf build.

nsswitch/libwbclient/wbc_pam.c
nsswitch/pam_winbind.c
nsswitch/wb_common.c

index 585dfcfaf6ed369f8e5f5660f20e4ebbeee1396b..0aa180ca05c4f8b9e8ad19d7f0b4fbc304809df7 100644 (file)
@@ -23,6 +23,7 @@
 
 /* Required Headers */
 
+#define UID_WRAPPER_NOT_REPLACE
 #include "replace.h"
 #include "libwbclient.h"
 #include "../winbind_client.h"
index e59a6d8ea1600fbc2dee3732eb28293d951b35d7..04977267c970857409c650957c6538b4c82b3c11 100644 (file)
@@ -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)
index 80c729a3b6b65e8913a0e3a3cdab56f0cc3abecf..c56a76f82612b1017853b2734261636e67cadf94 100644 (file)
@@ -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"