From 98c14ca61cb372795cb0ccb63430290b57ede086 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 28 May 2012 15:25:53 +0200 Subject: s3:smb2_create: do not remove leading backslash from pipe names metze --- source3/smbd/smb2_create.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source3/smbd') 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); -- cgit