From 99e9776436efa967913add0f2f023396b3f8b6c8 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 15 Jan 2008 13:52:19 +0100 Subject: nsswitch/: we don't need socket or nss wrapper in the winbind client code 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 (This used to be commit 40aeb431604bd26fc543410de24593726ca0a01f) --- source3/nsswitch/winbind_nss_config.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source3/nsswitch/winbind_nss_config.h') diff --git a/source3/nsswitch/winbind_nss_config.h b/source3/nsswitch/winbind_nss_config.h index 7f0e4b92e0..64d52af771 100644 --- a/source3/nsswitch/winbind_nss_config.h +++ b/source3/nsswitch/winbind_nss_config.h @@ -27,6 +27,14 @@ #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 */ -- cgit