param: disable print notify backchannel by default
authorDavid Disseldorp <ddiss@samba.org>
Mon, 14 Oct 2013 11:53:22 +0000 (13:53 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 14 Oct 2013 16:49:41 +0000 (18:49 +0200)
commit477e53a8cb5eda594cfe1cccb9890a4fcd586ff1
treeb9ba2af788ae4952617f4ac93d87187133252833
parentfec84112f3f7bdca9088ed7cabfe827bb21b0118
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
docs-xml/smbdotconf/printing/printnotifybackchannel.xml
selftest/target/Samba3.pm
selftest/target/Samba4.pm
source3/param/loadparm.c