summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2009-09-10 23:33:16 +0400
committerAndrew Bartlett <abartlet@samba.org>2009-09-11 07:29:57 +1000
commit344fb71cb8a2d8d02e4442c24c22e37ce3cff095 (patch)
tree8395a4f9d6f9d3fef6d2349ea8d67bac2f80878e
parent45b7b713a3aadec896ed1bd1bdef1a941b1abc1b (diff)
downloadsamba-344fb71cb8a2d8d02e4442c24c22e37ce3cff095.tar.gz
samba-344fb71cb8a2d8d02e4442c24c22e37ce3cff095.tar.bz2
samba-344fb71cb8a2d8d02e4442c24c22e37ce3cff095.zip
s4: Pass WINBINDD_SOCKET_DIR var in order to overide the location of the Winbind socket
-rw-r--r--nsswitch/config.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/nsswitch/config.mk b/nsswitch/config.mk
index a85939c4f4..9ad873bed1 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)\"