diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-05-28 18:43:29 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-05-28 19:51:46 +0200 |
commit | 1e5010fd9978e0d65c25a7f2cbea399813e21d26 (patch) | |
tree | c70345128e66e5c4b647270006324a5b76278697 /source3/rpc_client | |
parent | 4688107800216a86646bc4838f7a485bae091370 (diff) | |
download | samba-1e5010fd9978e0d65c25a7f2cbea399813e21d26.tar.gz samba-1e5010fd9978e0d65c25a7f2cbea399813e21d26.tar.bz2 samba-1e5010fd9978e0d65c25a7f2cbea399813e21d26.zip |
s3:rpc_client: tstream_cli_np_open_send() doesn't expect a leading backslash
This fixes winbindd against a windows server using SMB2.
metze
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/rpc_transport_np.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/rpc_client/rpc_transport_np.c b/source3/rpc_client/rpc_transport_np.c index c66d4b8022..0be07eba75 100644 --- a/source3/rpc_client/rpc_transport_np.c +++ b/source3/rpc_client/rpc_transport_np.c @@ -52,6 +52,10 @@ struct tevent_req *rpc_transport_np_init_send(TALLOC_CTX *mem_ctx, return tevent_req_post(req, ev); } + while (pipe_name[0] == '\\') { + pipe_name++; + } + subreq = tstream_cli_np_open_send(state, ev, cli, pipe_name); if (tevent_req_nomem(subreq, req)) { return tevent_req_post(req, ev); |