summaryrefslogtreecommitdiff
path: root/source4/ntvfs/ipc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-12-12 08:33:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:20 -0500
commitf2dbe4610704d97725a69c076af52fbb6e899640 (patch)
treebabf6dffad1b79248a6770fe0116ffad9fab29c9 /source4/ntvfs/ipc
parent2f2b9c5662a4726cba61bd78042079e563e84648 (diff)
downloadsamba-f2dbe4610704d97725a69c076af52fbb6e899640.tar.gz
samba-f2dbe4610704d97725a69c076af52fbb6e899640.tar.bz2
samba-f2dbe4610704d97725a69c076af52fbb6e899640.zip
r4160: fixed the file_type in ntcreatex reply on a named pipe. NT4 requires this to be right.
(This used to be commit e22de9734f66bee3c9eaf8191fcae9fb06a0034f)
Diffstat (limited to 'source4/ntvfs/ipc')
-rw-r--r--source4/ntvfs/ipc/vfs_ipc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/ntvfs/ipc/vfs_ipc.c b/source4/ntvfs/ipc/vfs_ipc.c
index b4c41d58d3..2f482bb5e4 100644
--- a/source4/ntvfs/ipc/vfs_ipc.c
+++ b/source4/ntvfs/ipc/vfs_ipc.c
@@ -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;
+ oi->ntcreatex.out.file_type = FILE_TYPE_MESSAGE_MODE_PIPE;
return status;
}