Fix bug #5372. With a large CUPS installation with a remote server, contacting
commit92d9f20852d5384e92a93dd0b051034718840ca8
authorJeremy Allison <jra@samba.org>
Fri, 4 Apr 2008 18:14:09 +0000 (4 11:14 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 4 Apr 2008 18:14:09 +0000 (4 11:14 -0700)
tree3165134e1c940b1dcb2d162d9cf318c4f932af0a
parent0dc9840cefb08b2732d294eb45508ce687ded324
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.
source/printing/nt_printing.c
source/rpc_server/srv_spoolss_nt.c