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 --- selftest/target/Samba3.pm | 1 + selftest/target/Samba4.pm | 1 + 2 files changed, 2 insertions(+) (limited to 'selftest') diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index 0972457d92..fbbddcc926 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -998,6 +998,7 @@ sub provision($$$$$$) queue pause command = $bindir_abs/vlp tdbfile=$lockdir/vlp.tdb queuepause %p queue resume command = $bindir_abs/vlp tdbfile=$lockdir/vlp.tdb queueresume %p lpq cache time = 0 + print notify backchannel = yes ncalrpc dir = $prefix_abs/ncalrpc resolv:host file = $dns_host_file diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index d7aa9c5bc1..646ac73061 100644 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -1451,6 +1451,7 @@ sub provision_plugin_s4_dc($$) queue pause command = $bindir_abs/vlp tdbfile=$lockdir/vlp.tdb queuepause %p queue resume command = $bindir_abs/vlp tdbfile=$lockdir/vlp.tdb queueresume %p lpq cache time = 0 + print notify backchannel = yes "; -- cgit