summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-04-27 16:45:39 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-04-27 22:22:27 +1000
commit5e90405af923de62b356de22871d967d9846c5a2 (patch)
tree725c8847200575f13022ed5ceeefef50cbac333a
parent3e85b960fae391af7a0592d5d38c18ae5a157209 (diff)
downloadsamba-5e90405af923de62b356de22871d967d9846c5a2.tar.gz
samba-5e90405af923de62b356de22871d967d9846c5a2.tar.bz2
samba-5e90405af923de62b356de22871d967d9846c5a2.zip
s3-winbind Use get_dyn_WINBINDD_SOCKET_DIR() to get the winbind pipe dir
This ensures we follow the dynconfig convention for the socket directory, and makes it easier to ensure that the client and server both refer to the same socket. Andrew Bartlett
-rw-r--r--source3/winbindd/winbindd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index c5a124a628..033c436c88 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -940,7 +940,7 @@ static void winbindd_listen_fde_handler(struct tevent_context *ev,
const char *get_winbind_pipe_dir(void)
{
- return lp_parm_const_string(-1, "winbindd", "socket dir", WINBINDD_SOCKET_DIR);
+ return lp_parm_const_string(-1, "winbindd", "socket dir", get_dyn_WINBINDD_SOCKET_DIR());
}
char *get_winbind_priv_pipe_dir(void)