git.samba.org
/
kai
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3:rpc_client: tstream_cli_np_open_send() doesn't expect a leading backslash
[kai/samba.git]
/
source3
/
rpc_client
/
rpc_transport_np.c
diff --git
a/source3/rpc_client/rpc_transport_np.c
b/source3/rpc_client/rpc_transport_np.c
index c66d4b80227a4133053752eaece6f4ea760d7f86..0be07eba75c7917c9d0bd9d9dcb2b4ac35530a45 100644
(file)
--- 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);