mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 16:35:02 +01:00
39 lines
1 KiB
Text
39 lines
1 KiB
Text
#include <tunables/global>
|
|
|
|
profile winbindd /usr/{bin,sbin}/winbindd {
|
|
#include <abstractions/base>
|
|
#include <abstractions/nameservice>
|
|
#include <abstractions/samba>
|
|
|
|
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/{bin,sbin}/winbindd mr,
|
|
/var/cache/krb5rcache/* rwk,
|
|
/var/cache/samba/*.tdb rwk,
|
|
/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>
|
|
|
|
}
|