[PATCH] s4: Pass WINBINDD_SOCKET_DIR var in order to overide the location of the Winbind socket

Matthieu Patou mat at matws.net
Thu Sep 10 13:33:16 MDT 2009


---
 nsswitch/config.mk |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/nsswitch/config.mk b/nsswitch/config.mk
index a85939c..9ad873b 100644
--- a/nsswitch/config.mk
+++ b/nsswitch/config.mk
@@ -2,6 +2,7 @@
 PRIVATE_DEPENDENCIES = SOCKET_WRAPPER
 
 LIBWINBIND-CLIENT_OBJ_FILES = $(nsswitchsrcdir)/wb_common.o
+$(LIBWINBIND-CLIENT_OBJ_FILES): CFLAGS+=-DWINBINDD_SOCKET_DIR=\"$(winbindd_socket_dir)\"
 
 #################################
 # Start BINARY nsstest
@@ -37,3 +38,4 @@ PRIVATE_DEPENDENCIES = \
 
 wbinfo_OBJ_FILES = \
 		$(nsswitchsrcdir)/wbinfo.o
+$(wbinfo_OBJ_FILES): CFLAGS+=-DWINBINDD_SOCKET_DIR=\"$(winbindd_socket_dir)\"
-- 
1.6.0.4


--------------020906010506080906050405--


More information about the samba-technical mailing list