summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2013-10-14 13:53:22 +0200
committerGünther Deschner <gd@samba.org>2013-10-14 18:49:41 +0200
commit477e53a8cb5eda594cfe1cccb9890a4fcd586ff1 (patch)
treeb9ba2af788ae4952617f4ac93d87187133252833 /selftest
parentfec84112f3f7bdca9088ed7cabfe827bb21b0118 (diff)
downloadsamba-477e53a8cb5eda594cfe1cccb9890a4fcd586ff1.tar.gz
samba-477e53a8cb5eda594cfe1cccb9890a4fcd586ff1.tar.bz2
samba-477e53a8cb5eda594cfe1cccb9890a4fcd586ff1.zip
param: disable print notify backchannel by default
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 <ddiss@samba.org> Reviewed-by: Günther Deschner <gd@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Mon Oct 14 18:49:41 CEST 2013 on sn-devel-104
Diffstat (limited to 'selftest')
-rwxr-xr-xselftest/target/Samba3.pm1
-rw-r--r--selftest/target/Samba4.pm1
2 files changed, 2 insertions, 0 deletions
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
";