mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Merge several fixes for samba-related profiles and the kerberos abstraction
See the individual commits for details. Signed-off-by: Noel Power <noel.power@suse.com> MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/989 Approved-by: Christian Boltz <apparmor@cboltz.de> Merged-by: Christian Boltz <apparmor@cboltz.de>
This commit is contained in:
commit
bba1a023bf
3 changed files with 8 additions and 1 deletions
|
@ -22,6 +22,11 @@
|
|||
/usr/lib/@{multiarch}/krb5/plugins/preauth/ r,
|
||||
/usr/lib/@{multiarch}/krb5/plugins/preauth/* mr,
|
||||
|
||||
/usr/lib{,32,64}/krb5/plugins/authdata/ r,
|
||||
/usr/lib{,32,64}/krb5/plugins/authdata/* mr,
|
||||
/usr/lib/@{multiarch}/krb5/plugins/authdata/ r,
|
||||
/usr/lib/@{multiarch}/krb5/plugins/authdata/* mr,
|
||||
|
||||
/etc/krb5.keytab rk,
|
||||
/etc/krb5.conf r,
|
||||
/etc/krb5.conf.d/ r,
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
/var/lib/samba/** rwk,
|
||||
/var/log/samba/cores/ rw,
|
||||
/var/log/samba/cores/** rw,
|
||||
/var/log/samba/* w,
|
||||
/var/log/samba/* rw,
|
||||
@{run}/{,lock/}samba/ w,
|
||||
@{run}/{,lock/}samba/*.tdb rwk,
|
||||
@{run}/{,lock/}samba/msg.{lock,sock}/ rwk,
|
||||
|
|
|
@ -6,6 +6,7 @@ profile winbindd /usr/{bin,sbin}/winbindd {
|
|||
include <abstractions/base>
|
||||
include <abstractions/nameservice>
|
||||
include <abstractions/samba>
|
||||
include <abstractions/kerberosclient>
|
||||
|
||||
deny capability block_suspend,
|
||||
|
||||
|
@ -29,6 +30,7 @@ profile winbindd /usr/{bin,sbin}/winbindd {
|
|||
/usr/lib*/samba/{,samba/}samba-dcerpcd Px -> samba-dcerpcd,
|
||||
/usr/{bin,sbin}/winbindd mr,
|
||||
/var/cache/krb5rcache/* rwk,
|
||||
/var/lib/sss/pubconf/kdcinfo.* r,
|
||||
/var/log/samba/log.winbindd rw,
|
||||
@{run}/{samba/,}winbindd.pid rwk,
|
||||
@{run}/samba/winbindd/ rw,
|
||||
|
|
Loading…
Add table
Reference in a new issue