From 477e53a8cb5eda594cfe1cccb9890a4fcd586ff1 Mon Sep 17 00:00:00 2001 From: David Disseldorp Date: Mon, 14 Oct 2013 13:53:22 +0200 Subject: param: disable print notify backchannel by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In handling RemoteFindFirstPrinterChangeNotifyEx requests, the spoolss server can establish a "backchannel" connection to the print client, as a mechanism for sending print notifications. This behaviour is governed by the "print notify backchannel" smb.conf parameter. This change sets "print notify backchannel" to "no" by default, which sees Samba respond to RemoteFindFirstPrinterChangeNotifyEx requests with WERR_SERVER_UNAVAILABLE. In recieving such a response, print clients can fall back to polling for print queue changes. Signed-off-by: David Disseldorp Reviewed-by: Günther Deschner Autobuild-User(master): Günther Deschner Autobuild-Date(master): Mon Oct 14 18:49:41 CEST 2013 on sn-devel-104 --- source3/param/loadparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index e702420124..3daebdb61c 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -218,7 +218,7 @@ static struct loadparm_service sDefault = .bAdministrative_share = false, .bGuest_ok = false, .bPrint_ok = false, - .bPrintNotifyBackchannel = true, + .bPrintNotifyBackchannel = false, .bMap_system = false, .bMap_hidden = false, .bMap_archive = true, -- cgit