Fix bug #5372. With a large CUPS installation with a remote server, contacting
authorJeremy Allison <jra@samba.org>
Fri, 4 Apr 2008 18:14:09 +0000 (11:14 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 4 Apr 2008 18:14:09 +0000 (11:14 -0700)
commit40d16fa275888b0dbb5894d484966c858187997c
tree81570fd2138c3b1ffc9ff24cd5789858b7ba48ec
parent0000eeb9b859ef3f9dcc6b659d27c897048c63f6
Fix bug #5372. With a large CUPS installation with a remote server, contacting
the server when searching for a name for the location and comment fields can
take so much time the client times out. When searching for a name we don't
use these fields anyway, so add a function get_a_printer_search() which
doesn't contact the CUPS server.
Jeremy.
(This used to be commit 92d9f20852d5384e92a93dd0b051034718840ca8)
source3/printing/nt_printing.c
source3/rpc_server/srv_spoolss_nt.c