summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/ntvfs/ipc/vfs_ipc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/ntvfs/ipc/vfs_ipc.c b/source4/ntvfs/ipc/vfs_ipc.c
index 3a27b8d7b0..aefa93a8ef 100644
--- a/source4/ntvfs/ipc/vfs_ipc.c
+++ b/source4/ntvfs/ipc/vfs_ipc.c
@@ -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",