summaryrefslogtreecommitdiff
path: root/source3/smbd/nttrans.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-18 19:30:26 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-18 19:30:26 +0000
commitb4ef754715a8dcb67341f30e0c7f06d18c3ebf00 (patch)
treeb957b645683d75f37eff5c22f52835e7b08f4eb6 /source3/smbd/nttrans.c
parentf6d91d05650894e1cce2685141108e555220da8a (diff)
downloadsamba-b4ef754715a8dcb67341f30e0c7f06d18c3ebf00.tar.gz
samba-b4ef754715a8dcb67341f30e0c7f06d18c3ebf00.tar.bz2
samba-b4ef754715a8dcb67341f30e0c7f06d18c3ebf00.zip
check for lp_nt_pipe_support() in open calls
(This used to be commit 44d901b3e040a520c4ad9089e68c566c78acacca)
Diffstat (limited to 'source3/smbd/nttrans.c')
-rw-r--r--source3/smbd/nttrans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 758c46a6cd..128a234304 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -491,7 +491,7 @@ int reply_ntcreate_and_X(connection_struct *conn,
/* If it's an IPC, use the pipe handler. */
- if (IS_IPC(conn)) {
+ if (IS_IPC(conn) && lp_nt_pipe_support()) {
int ret = nt_open_pipe(fname, conn, inbuf, outbuf, &pnum);
if(ret != 0)