summaryrefslogtreecommitdiffstats
path: root/lib/zlib/contrib/iostream/zfstream.cpp
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2014-07-23 14:42:00 +0200
committerAndreas Schneider <asn@cryptomilk.org>2014-08-08 14:10:39 +0200
commita2182e03a061de6c1f111ce083cb5f668fe75e4e (patch)
tree78f3e088a16bf443ba0b39c96f9dbe7dc1d3dcfb /lib/zlib/contrib/iostream/zfstream.cpp
parent30ce835670a6aeca6fb960ea7c4fe1b982bdd5b0 (diff)
downloadsamba-a2182e03a061de6c1f111ce083cb5f668fe75e4e.tar.gz
samba-a2182e03a061de6c1f111ce083cb5f668fe75e4e.tar.xz
samba-a2182e03a061de6c1f111ce083cb5f668fe75e4e.zip
smbd: only reprocess printer_list.tdb if it changed
The per-client smbd printer share inventory is currently updated from printer_list.tdb when a client enumerates printers, via EnumPrinters or NetShareEnum. printer_list.tdb is populated by the background print process, based on the latest printcap values retrieved from the printing backend (e.g. CUPS) at regular intervals. This change ensures that per-client smbd processes don't reparse printer_list.tdb if it hasn't been updated since the last enumeration. Bug: https://bugzilla.samba.org/show_bug.cgi?id=10652 Suggested-by: Volker Lendecke <vl@samba.org> Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'lib/zlib/contrib/iostream/zfstream.cpp')
0 files changed, 0 insertions, 0 deletions