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_samba3_cmd.c | |
parent | ffc9f85bfb6fec0bd4057d6ccb6e013dd6873ced (diff) | |
download | samba-ba22de3d4fcba466d2829df47fb05c85eda2f98f.tar.gz samba-ba22de3d4fcba466d2829df47fb05c85eda2f98f.tar.xz 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_samba3_cmd.c')
-rw-r--r-- | source4/winbind/wb_samba3_cmd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/winbind/wb_samba3_cmd.c b/source4/winbind/wb_samba3_cmd.c index 5ef0339ecb1..c2ba55ff18c 100644 --- a/source4/winbind/wb_samba3_cmd.c +++ b/source4/winbind/wb_samba3_cmd.c @@ -113,8 +113,7 @@ NTSTATUS wbsrv_samba3_netbios_name(struct wbsrv_samba3_call *s3call) NTSTATUS wbsrv_samba3_priv_pipe_dir(struct wbsrv_samba3_call *s3call) { - char *path = smbd_tmp_path(s3call, s3call->wbconn->lp_ctx, WINBINDD_SAMBA3_PRIVILEGED_SOCKET); - NT_STATUS_HAVE_NO_MEMORY(path); + char *path = s3call->wbconn->listen_socket->service->priv_socket_path; s3call->response.result = WINBINDD_OK; s3call->response.extra_data.data = path; |