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>
Sun, 7 Apr 2013 19:27:20 +0000 (21:27 +0200)
commitac6604868d1325dd4c872dc0f6ab056d10ebaecf
treeb617f34aceca769801b7b49c87b601f8d5f9f6b4
parentc30c66d8b5b4ebbde1b148c51310e336f29ca04e
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.
source3/printing/printing.c
source3/smbd/proto.h
source3/smbd/server.c
source3/smbd/server_reload.c