mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00

Begin preparing policy for the 4.0 release. This may result in new denials. This is expected and needed to make sure policy is ready for the 4.0 release. Signed-off-by: John Johansen <john.johansen@canonical.com>
43 lines
1.2 KiB
Text
43 lines
1.2 KiB
Text
abi <abi/4.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
profile winbindd /usr/{bin,sbin}/winbindd {
|
|
include <abstractions/base>
|
|
include <abstractions/nameservice>
|
|
include <abstractions/samba>
|
|
include <abstractions/kerberosclient>
|
|
|
|
deny capability block_suspend,
|
|
|
|
capability dac_override,
|
|
capability ipc_lock,
|
|
capability setuid,
|
|
|
|
/etc/samba/netlogon_creds_cli.tdb rwk,
|
|
/etc/samba/passdb.tdb{,.tmp} rwk,
|
|
/etc/samba/secrets.tdb rwk,
|
|
/etc/samba/smbd.tmp/ rw,
|
|
/etc/samba/smbd.tmp/msg/ rw,
|
|
/etc/samba/smbd.tmp/msg/* rwk,
|
|
@{PROC}/sys/kernel/core_pattern r,
|
|
/tmp/.winbindd/ w,
|
|
/tmp/krb5cc_* rwk,
|
|
/usr/lib*/samba/gensec/krb*.so mr,
|
|
/usr/lib*/samba/idmap/*.so mr,
|
|
/usr/lib*/samba/nss_info/*.so mr,
|
|
/usr/lib*/samba/pdb/*.so mr,
|
|
/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,
|
|
@{run}/samba/winbindd/pipe w,
|
|
@{run}/user/*/krb5cc/* rwk,
|
|
|
|
# Site-specific additions and overrides. See local/README for details.
|
|
include if exists <local/usr.sbin.winbindd>
|
|
|
|
}
|