1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3:smb2_create: do not remove leading backslash from pipe names

metze
This commit is contained in:
Stefan Metzmacher 2012-05-28 15:25:53 +02:00
parent 081b484181
commit 98c14ca61c

View File

@ -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);