mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-09 02:41:03 +01:00

(collected in the openSUSE package over the last months) - add abstractions/samba to usr.sbin.winbindd profile (and cleanup things that are included in the abstraction - the cleanup part is not in the openSUSE package) - add capabilities ipc_lock and setuid to usr.sbin.winbindd profile (bnc#851131) - updates for samba 4.x and kerberos (bnc#846586#c12 and #c15, bnc#845867, bnc#846054) - drop always-outdated "Last Modified" comment References: see the bnc# above (they are bug numbers at bugzilla.novell.com) Acked-by: John Johansen <john.johansen@canonical.com>
34 lines
900 B
Text
34 lines
900 B
Text
#include <tunables/global>
|
|
|
|
/usr/sbin/winbindd {
|
|
#include <abstractions/base>
|
|
#include <abstractions/nameservice>
|
|
#include <abstractions/samba>
|
|
|
|
deny capability block_suspend,
|
|
|
|
capability ipc_lock,
|
|
capability setuid,
|
|
|
|
/etc/samba/passdb.tdb rwk,
|
|
/etc/samba/secrets.tdb rwk,
|
|
@{PROC}/sys/kernel/core_pattern r,
|
|
/tmp/.winbindd/ w,
|
|
/tmp/krb5cc_* rwk,
|
|
/usr/lib*/samba/idmap/*.so mr,
|
|
/usr/lib*/samba/nss_info/*.so mr,
|
|
/usr/lib*/samba/pdb/*.so mr,
|
|
/usr/sbin/winbindd mr,
|
|
/var/cache/samba/*.tdb rwk,
|
|
/var/lib/samba/smb_krb5/krb5.conf.* rw,
|
|
/var/lib/samba/smb_tmp_krb5.* rw,
|
|
/var/lib/samba/winbindd_cache.tdb* rwk,
|
|
/var/log/samba/log.winbindd rw,
|
|
/{var/,}run/samba/winbindd.pid rwk,
|
|
/{var/,}run/samba/winbindd/ rw,
|
|
/{var/,}run/samba/winbindd/pipe w,
|
|
|
|
# Site-specific additions and overrides. See local/README for details.
|
|
#include <local/usr.sbin.winbindd>
|
|
|
|
}
|