printing: reload printer shares on OpenPrinter
commit5df60b233e7d66da662ba4ccea6b28cd0cae85ec
authorDavid Disseldorp <ddiss@samba.org>
Tue, 5 Aug 2014 15:33:33 +0000 (5 17:33 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 1 Sep 2014 19:34:11 +0000 (1 21:34 +0200)
tree3bea960dc26984ca994748e08475859a3ccba73f
parent00a0c2d04839e628e1e557648862161a796208a0
printing: reload printer shares on OpenPrinter

The printer share inventory should be reloaded on open _and_
enumeration, as there are some clients, such as cupsaddsmb, that do not
perform an enumeration prior to access.

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

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Aug  8 16:33:50 CEST 2014 on sn-devel-104

(cherry picked from commit 1ad71f79eb473822d36d9629cf52c2fca4c53752)
source3/rpc_server/spoolss/srv_spoolss_nt.c