printing: check lp_load_printers() prior to pcap cache update
commitd6dbd33fdcd6a4763a95d448405c54a2170c2616
authorDavid Disseldorp <ddiss@samba.org>
Tue, 29 Jan 2019 00:55:04 +0000 (29 01:55 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 21 Feb 2019 11:30:42 +0000 (21 12:30 +0100)
treea6462033883a18d9ff6dea024ab510aa1f51c6ef
parent3d0450ef3c54d31d4a1aafaebf415e7f9d727c7b
printing: check lp_load_printers() prior to pcap cache update

Avoid explicit and housekeeping timer triggered printcap cache updates
if lp_load_printers() is disabled.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13766

Signed-off-by: David Disseldorp <ddiss@samba.org>
Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Fri Feb  1 19:25:03 CET 2019 on sn-devel-144

(cherry picked from commit 6a77237c50dd258521f356af0b5dc9942dd5592e)
source3/printing/pcap.c
source3/printing/queue_process.c