diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-11-07 20:53:28 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-11-07 20:53:28 +0100 |
commit | 427a22d946a4902eeb1c229fede5cfc0a60e9528 (patch) | |
tree | 702ddd92cee1b482cac827f56b69766e43e9fe3a /source4/ntvfs | |
parent | d89b475f8437518c44694cf7576e5b5a3f08ceb9 (diff) | |
download | samba-427a22d946a4902eeb1c229fede5cfc0a60e9528.tar.gz samba-427a22d946a4902eeb1c229fede5cfc0a60e9528.tar.bz2 samba-427a22d946a4902eeb1c229fede5cfc0a60e9528.zip |
s4:vfs_ipc - fix "ipc_open" for NTTRANS create requests
Diffstat (limited to 'source4/ntvfs')
-rw-r--r-- | source4/ntvfs/ipc/vfs_ipc.c | 4 |
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", |