1
0
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:
Matthias Dieter Wallnöfer 2009-11-07 20:53:28 +01:00
parent d89b475f84
commit 427a22d946

View File

@ -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",