printing: reload printer shares on OpenPrinter
commit2eb6bbd34a975ffa69f497054e73339dbf2582a7
authorDavid Disseldorp <ddiss@samba.org>
Tue, 5 Aug 2014 15:33:33 +0000 (5 17:33 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 2 Sep 2014 18:39:20 +0000 (2 20:39 +0200)
treeb0401aefffe87ebbec8e50eb0b92d1b4b4a95724
parent668127f5f4d91891ca6a901c809746fdb3b79a9c
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