26 lines
786 B
Diff
26 lines
786 B
Diff
From 4d2a6d493a3a523c9bbb1d5f276f94bb176f5dec Mon Sep 17 00:00:00 2001
|
|
From: Nikola Knazekova <nknazeko@redhat.com>
|
|
Date: Mon, 22 Aug 2022 16:40:09 +0200
|
|
Subject: [PATCH] Allow samba-bgqd to read a printer list
|
|
|
|
Allow samba-bgqd, helper program performing asynchronous printing-related jobs,
|
|
to read /etc/printcap file, where are stored printer definitions.
|
|
|
|
Fix: bz#2118977
|
|
---
|
|
policy/modules/contrib/samba.te | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/policy/modules/contrib/samba.te b/policy/modules/contrib/samba.te
|
|
index 82ba1abf64..323e38b4cc 100644
|
|
--- a/policy/modules/contrib/samba.te
|
|
+++ b/policy/modules/contrib/samba.te
|
|
@@ -1206,6 +1206,7 @@ optional_policy(`
|
|
')
|
|
|
|
optional_policy(`
|
|
+ cups_read_config(winbind_rpcd_t)
|
|
cups_stream_connect(winbind_rpcd_t)
|
|
')
|
|
|