Fix bug #5372. With a large CUPS installation with a remote server, contacting
commitbfc99dcfe6f592477b8f62adbb1e1a7baec65dcd
authorJeremy Allison <jra@samba.org>
Fri, 4 Apr 2008 18:14:15 +0000 (4 11:14 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 4 Apr 2008 18:14:15 +0000 (4 11:14 -0700)
treeb5a6c4b805da7b57355334d25b002effa59b9dc2
parent20c499dada296ffe5ee533730316a8ec963c6284
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