Progress on CR 601
authorGerald Carter <jerry@samba.org>
Tue, 25 Feb 2003 20:53:53 +0000 (20:53 +0000)
committerGerald Carter <jerry@samba.org>
Tue, 25 Feb 2003 20:53:53 +0000 (20:53 +0000)
commit23b3b29eec61860155404333f6e70ebd24b50940
treebe9a2981266cc1cce4e9144bb5a77ed0f364a830
parentb8fbb3189a8b55ddc87f9b52b1c00d1acbb37e72
Progress on CR 601

cache the printer_info_2 with the open printer handle.
cache is invalidated on a mod_a_printer() call **on that smbd**.

Yes, this means that the window for admins to step on each other
from different clients just got larger, but since handles a generally
short lived this is probably ok.
(This used to be commit 31272d3b6bb9ec62fd666301c7adfa0c1720a99b)
source3/include/nt_printing.h
source3/printing/nt_printing.c
source3/registry/reg_printing.c
source3/rpc_parse/parse_spoolss.c
source3/rpc_server/srv_spoolss_nt.c
source3/smbd/lanman.c