diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-09-10 14:08:40 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-09-10 14:08:40 +1000 |
commit | ba22de3d4fcba466d2829df47fb05c85eda2f98f (patch) | |
tree | af1a73e2784eeadf02cce37c44f03c4c6373c48b /source4/winbind/wb_server.c | |
parent | ffc9f85bfb6fec0bd4057d6ccb6e013dd6873ced (diff) | |
download | samba-ba22de3d4fcba466d2829df47fb05c85eda2f98f.tar.gz samba-ba22de3d4fcba466d2829df47fb05c85eda2f98f.tar.bz2 samba-ba22de3d4fcba466d2829df47fb05c85eda2f98f.zip |
Return the same privilaged winbindd socket as we actually use.
Andrew Bartlett
(This used to be commit 2209787812fd9224d104f332e25d8ce64ef9ee95)
Diffstat (limited to 'source4/winbind/wb_server.c')
-rw-r--r-- | source4/winbind/wb_server.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/winbind/wb_server.c b/source4/winbind/wb_server.c index 97646f2849..d56a82ea18 100644 --- a/source4/winbind/wb_server.c +++ b/source4/winbind/wb_server.c @@ -182,7 +182,9 @@ static void winbind_task_init(struct task_server *task) /* setup the privileged samba3 socket */ listen_socket = talloc(service, struct wbsrv_listen_socket); if (!listen_socket) goto nomem; - listen_socket->socket_path = talloc_asprintf(listen_socket, "%s/%s", + 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; |