printing: update registry and publish in background
authorDavid Disseldorp <ddiss@samba.org>
Fri, 15 Mar 2013 15:54:06 +0000 (16:54 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 26 Apr 2013 07:25:02 +0000 (09:25 +0200)
commit78f721847ee861d644b03fcab0830cc3fe33760f
treeac5be8f7f6d531c5e34a539d7ced96e990d3fb8e
parent1c4af29ea41e200ef942fedbcf58fbd0f665d303
printing: update registry and publish in background

Currently all smbd processes unnecessarily access each printer registry
TDB entry following printcap cache reload.
This change moves responsibility for this to the background print queue
process.

This and the last four commits address bug 9650: New or delete cups
printerqueues are not recognized by the samba.
(cherry picked from commit ac6604868d1325dd4c872dc0f6ab056d10ebaecf)
source3/printing/printing.c
source3/smbd/proto.h
source3/smbd/server.c
source3/smbd/server_reload.c