s3:printing: Initialize the printcap cache as soon as the bgqd starts
authorAndreas Schneider <asn@samba.org>
Mon, 30 May 2022 15:22:21 +0000 (17:22 +0200)
committerJule Anger <janger@samba.org>
Thu, 9 Jun 2022 08:54:17 +0000 (08:54 +0000)
commit8507fa6fc7daa29746ed81578669070a32bd0427
tree719ef89e4d039248e5dc5e23cd3929b826d0a82b
parentc3ce1fec590d95a2d848bce52b059784eeda430a
s3:printing: Initialize the printcap cache as soon as the bgqd starts

As soon as the background daemon starts, we need to initialize the
printcap cache so that rpcd-spoolssd can serve printers.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15081

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 3b5b80e99603e4c1d4d1080ed45bd75116a9fa8e)
source3/printing/queue_process.c