summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-07 20:53:28 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-07 20:53:28 +0100
commit427a22d946a4902eeb1c229fede5cfc0a60e9528 (patch)
tree702ddd92cee1b482cac827f56b69766e43e9fe3a /source4
parentd89b475f8437518c44694cf7576e5b5a3f08ceb9 (diff)
downloadsamba-427a22d946a4902eeb1c229fede5cfc0a60e9528.tar.gz
samba-427a22d946a4902eeb1c229fede5cfc0a60e9528.tar.bz2
samba-427a22d946a4902eeb1c229fede5cfc0a60e9528.zip
s4:vfs_ipc - fix "ipc_open" for NTTRANS create requests
Diffstat (limited to 'source4')
-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",