r4160: fixed the file_type in ntcreatex reply on a named pipe. NT4 requires this...
authorAndrew Tridgell <tridge@samba.org>
Sun, 12 Dec 2004 08:33:08 +0000 (08:33 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:07:20 +0000 (13:07 -0500)
source/ntvfs/ipc/vfs_ipc.c

index b4c41d58d35982de28d9c3ade790177851840f8e..2f482bb5e4536a75d1e37206db52ffd7c9ae492a 100644 (file)
@@ -267,6 +267,7 @@ static NTSTATUS ipc_open_ntcreatex(struct ntvfs_module_context *ntvfs,
        ZERO_STRUCT(oi->ntcreatex.out);
        oi->ntcreatex.out.fnum = p->fnum;
        oi->ntcreatex.out.ipc_state = p->ipc_state;
        ZERO_STRUCT(oi->ntcreatex.out);
        oi->ntcreatex.out.fnum = p->fnum;
        oi->ntcreatex.out.ipc_state = p->ipc_state;
+       oi->ntcreatex.out.file_type = FILE_TYPE_MESSAGE_MODE_PIPE;
 
        return status;
 }
 
        return status;
 }