summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2001-08-10 04:27:26 +0000
committerGerald Carter <jerry@samba.org>2001-08-10 04:27:26 +0000
commitde5f42c9d9172592779fa2504d44544e3b6b1c0d (patch)
treeff2bdb78aa923d47e8c939e022395273be744519 /source3/smbd
parentfc0fe941d8c2bd012076803452b3b4f21e019ecc (diff)
downloadsamba-de5f42c9d9172592779fa2504d44544e3b6b1c0d.tar.gz
samba-de5f42c9d9172592779fa2504d44544e3b6b1c0d.tar.bz2
samba-de5f42c9d9172592779fa2504d44544e3b6b1c0d.zip
merge from 2.2
(This used to be commit 6ab0e949d18b97ea7177175a4e6abb5ba076db98)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/lanman.c2
-rw-r--r--source3/smbd/nttrans.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index c84812cb83..fe3516ee9d 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -933,7 +933,7 @@ static BOOL api_DosPrintQGetInfo(connection_struct *conn,
* in order to support lanman style printing with Win NT/2k
* clients --jerry
*/
- if (!mdrcnt && lp_lanman_printing_only())
+ if (!mdrcnt && lp_disable_spoolss())
desc.errcode = ERRbuftoosmall;
*rdata_len = desc.usedlen;
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++ )