From de5f42c9d9172592779fa2504d44544e3b6b1c0d Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 10 Aug 2001 04:27:26 +0000 Subject: merge from 2.2 (This used to be commit 6ab0e949d18b97ea7177175a4e6abb5ba076db98) --- source3/smbd/nttrans.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd/nttrans.c') diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index d342e44ca4..f0195fc0dd 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -474,7 +474,7 @@ static int nt_open_pipe(char *fname, connection_struct *conn, /* See if it is one we want to handle. */ - if (lp_lanman_printing_only() && strequal(fname, "\\spoolss")) + if (lp_disable_spoolss() && strequal(fname, "\\spoolss")) return(ERROR(ERRSRV,ERRaccess)); for( i = 0; known_nt_pipes[i]; i++ ) -- cgit