s3: Cache results of finding printer names
authorVolker Lendecke <vl@samba.org>
Fri, 27 Aug 2010 12:44:16 +0000 (14:44 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 6 Sep 2010 18:46:39 +0000 (20:46 +0200)
commitde445e29ce944985651cbd62c8203cc9ace51a25
treebac4b081acf1ff83972f2360f18e7909c58e8c69
parent3ced147b6e0ba872b6b49a27f30e4a44695d42f3
s3: Cache results of finding printer names

With hundreds of printers or on a slow machine, this can become expensive.

Problem reported and patch sponsored by DESY, Hamburg (www.desy.de)

Fix bug #7656 (Scalability problem with hundreds of printers).
source3/rpc_server/srv_spoolss_nt.c