summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-05-28 15:25:53 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-28 19:51:57 +0200
commit98c14ca61cb372795cb0ccb63430290b57ede086 (patch)
tree7b48ef02b7a5c1f01fc817443001ce5a79572848 /source3/smbd
parent081b484181525878108cf4e430a1bf9d285f351c (diff)
downloadsamba-98c14ca61cb372795cb0ccb63430290b57ede086.tar.gz
samba-98c14ca61cb372795cb0ccb63430290b57ede086.tar.bz2
samba-98c14ca61cb372795cb0ccb63430290b57ede086.zip
s3:smb2_create: do not remove leading backslash from pipe names
metze
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/smb2_create.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c
index 35be328231..b8ad3880d0 100644
--- a/source3/smbd/smb2_create.c
+++ b/source3/smbd/smb2_create.c
@@ -477,11 +477,6 @@ static struct tevent_req *smbd_smb2_create_send(TALLOC_CTX *mem_ctx,
return tevent_req_post(req, ev);
}
- /* Strip \\ off the name. */
- if (pipe_name[0] == '\\') {
- pipe_name++;
- }
-
status = open_np_file(smb1req, pipe_name, &result);
if (!NT_STATUS_IS_OK(status)) {
tevent_req_nterror(req, status);