summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-01-15 13:52:19 +0100
committerStefan Metzmacher <metze@samba.org>2008-01-15 13:58:32 +0100
commit99e9776436efa967913add0f2f023396b3f8b6c8 (patch)
treea175b15d7fe8e9c1dcef0b633791aee7a28e9d8a /source3/nsswitch
parentb32d613ed064fc662c795c6e7dcebe7c64bddf00 (diff)
downloadsamba-99e9776436efa967913add0f2f023396b3f8b6c8.tar.gz
samba-99e9776436efa967913add0f2f023396b3f8b6c8.tar.bz2
samba-99e9776436efa967913add0f2f023396b3f8b6c8.zip
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)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbind_nss_config.h8
1 files changed, 8 insertions, 0 deletions
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 */