mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3:smb2_create: do not remove leading backslash from pipe names
metze
This commit is contained in:
parent
081b484181
commit
98c14ca61c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user