From 44d901b3e040a520c4ad9089e68c566c78acacca Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 18 Oct 1998 19:30:26 +0000 Subject: check for lp_nt_pipe_support() in open calls --- source/smbd/nttrans.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/smbd/nttrans.c') diff --git a/source/smbd/nttrans.c b/source/smbd/nttrans.c index 758c46a6cd0..128a234304e 100644 --- a/source/smbd/nttrans.c +++ b/source/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) -- cgit