]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
nsswitch/: we don't need socket or nss wrapper in the winbind client code
authorStefan Metzmacher <metze@samba.org>
Tue, 15 Jan 2008 12:52:19 +0000 (13:52 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 15 Jan 2008 12:58:32 +0000 (13:58 +0100)
As we don't need socket wrapper of nss wrapper in the winbind client code
we disable the function macros so that we don't endup with swrap_close()
or similar functions.

metze

source/nsswitch/winbind_nss_config.h

index 7f0e4b92e00d18dc7b4f902a7ea3b32e00d1db97..64d52af771ec5f5a24a1c83b22c0d30039d4e839 100644 (file)
 #undef SIZEOF_LONG
 #endif
 
+/*
+ * we don't need socket wrapper
+ * nor nss wrapper here and we don't
+ * want to depend on swrap_close()
+ * so we better disable both
+ */
+#define SOCKET_WRAPPER_NOT_REPLACE
+#define NSS_WRAPPER_NOT_REPLACE
 
 /* Include header files from data in config.h file */