summaryrefslogtreecommitdiff
path: root/source4/winbind/wb_server.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-04-15 09:24:56 +0200
committerStefan Metzmacher <metze@samba.org>2010-04-15 09:34:02 +0200
commita1cf6a52af5eb9766105870c2eb5470855fbd1e7 (patch)
tree51518842aa2c2db814fda65fd01b7d7bb7e9440f /source4/winbind/wb_server.c
parent2fd0137a87cdefb5626f5537201af8f93eb0be8b (diff)
downloadsamba-a1cf6a52af5eb9766105870c2eb5470855fbd1e7.tar.gz
samba-a1cf6a52af5eb9766105870c2eb5470855fbd1e7.tar.bz2
samba-a1cf6a52af5eb9766105870c2eb5470855fbd1e7.zip
s4:winbind: wbsrv_samba3_priv_pipe_dir() needs to return the directory not the pipe path
metze
Diffstat (limited to 'source4/winbind/wb_server.c')
-rw-r--r--source4/winbind/wb_server.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/winbind/wb_server.c b/source4/winbind/wb_server.c
index 4b31997f6c..36ade7de5e 100644
--- a/source4/winbind/wb_server.c
+++ b/source4/winbind/wb_server.c
@@ -304,12 +304,10 @@ static void winbind_task_init(struct task_server *task)
listen_socket = talloc(service, struct wbsrv_listen_socket);
if (!listen_socket) goto nomem;
listen_socket->socket_path
- = service->priv_socket_path
= talloc_asprintf(listen_socket, "%s/%s",
lp_winbindd_privileged_socket_directory(task->lp_ctx),
WINBINDD_SAMBA3_SOCKET);
if (!listen_socket->socket_path) goto nomem;
- if (!listen_socket->socket_path) goto nomem;
listen_socket->service = service;
listen_socket->privileged = true;
status = stream_setup_socket(task->event_ctx, task->lp_ctx, model_ops,