mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s4:vfs_ipc - fix "ipc_open" for NTTRANS create requests
This commit is contained in:
parent
d89b475f84
commit
427a22d946
@ -260,6 +260,7 @@ static NTSTATUS ipc_open(struct ntvfs_module_context *ntvfs,
|
||||
|
||||
switch (oi->generic.level) {
|
||||
case RAW_OPEN_NTCREATEX:
|
||||
case RAW_OPEN_NTTRANS_CREATE:
|
||||
fname = oi->ntcreatex.in.fname;
|
||||
break;
|
||||
case RAW_OPEN_OPENX:
|
||||
@ -269,8 +270,7 @@ static NTSTATUS ipc_open(struct ntvfs_module_context *ntvfs,
|
||||
fname = oi->smb2.in.fname;
|
||||
break;
|
||||
default:
|
||||
status = NT_STATUS_NOT_SUPPORTED;
|
||||
break;
|
||||
return NT_STATUS_NOT_SUPPORTED;
|
||||
}
|
||||
|
||||
directory = talloc_asprintf(req, "%s/np",
|
||||
|
Loading…
Reference in New Issue
Block a user