From: Matthias Dieter Wallnöfer Date: Sat, 7 Nov 2009 19:53:28 +0000 (+0100) Subject: s4:vfs_ipc - fix "ipc_open" for NTTRANS create requests X-Git-Tag: tdb-1.2.0~250 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=427a22d946a4902eeb1c229fede5cfc0a60e9528;hp=d89b475f8437518c44694cf7576e5b5a3f08ceb9 s4:vfs_ipc - fix "ipc_open" for NTTRANS create requests --- diff --git a/source4/ntvfs/ipc/vfs_ipc.c b/source4/ntvfs/ipc/vfs_ipc.c index 3a27b8d7b0c..aefa93a8eff 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",