2012-04-17 07:43:31 +02:00
|
|
|
#include <tunables/global>
|
|
|
|
|
|
|
|
/usr/sbin/winbindd {
|
|
|
|
#include <abstractions/base>
|
|
|
|
#include <abstractions/nameservice>
|
2014-01-02 14:01:50 +01:00
|
|
|
#include <abstractions/samba>
|
2012-04-17 07:43:31 +02:00
|
|
|
|
2013-11-02 17:11:42 +01:00
|
|
|
deny capability block_suspend,
|
|
|
|
|
2014-01-02 14:01:50 +01:00
|
|
|
capability ipc_lock,
|
|
|
|
capability setuid,
|
|
|
|
|
2012-04-17 07:43:31 +02:00
|
|
|
/etc/samba/dhcp.conf r,
|
2014-04-18 13:18:39 +02:00
|
|
|
/etc/samba/passdb.tdb{,.tmp} rwk,
|
2012-04-17 07:43:31 +02:00
|
|
|
/etc/samba/secrets.tdb rwk,
|
|
|
|
/proc/sys/kernel/core_pattern r,
|
|
|
|
/tmp/.winbindd/ w,
|
2013-11-02 17:11:42 +01:00
|
|
|
/tmp/krb5cc_* rwk,
|
2012-04-17 07:43:31 +02:00
|
|
|
/usr/lib*/samba/idmap/*.so mr,
|
|
|
|
/usr/lib*/samba/nss_info/*.so mr,
|
2013-10-20 14:05:07 +02:00
|
|
|
/usr/lib*/samba/pdb/*.so mr,
|
2012-04-17 07:43:31 +02:00
|
|
|
/usr/sbin/winbindd mr,
|
2013-10-15 23:44:56 +02:00
|
|
|
/usr/share/samba/codepages/{lowcase,upcase,valid}.dat r,
|
2014-04-18 13:18:39 +02:00
|
|
|
/var/cache/krb5rcache/* rw,
|
2013-10-20 14:05:07 +02:00
|
|
|
/var/cache/samba/*.tdb rwk,
|
2013-10-15 23:44:56 +02:00
|
|
|
/var/cache/samba/netsamlogon_cache.tdb rw,
|
2013-11-02 17:11:42 +01:00
|
|
|
|
2014-01-02 14:01:50 +01:00
|
|
|
/var/lib/samba/smb_krb5/krb5.conf.* rw,
|
2013-11-02 17:11:42 +01:00
|
|
|
/var/lib/samba/smb_tmp_krb5.* rw,
|
|
|
|
/var/lib/samba/**.tdb rwk,
|
|
|
|
|
2013-10-15 23:44:56 +02:00
|
|
|
/var/lib/samba/winbindd_cache.tdb* rwk,
|
2012-04-17 07:43:31 +02:00
|
|
|
/var/lib/samba/winbindd_privileged/pipe w,
|
|
|
|
/var/log/samba/cores/ rw,
|
|
|
|
/var/log/samba/cores/winbindd/ rw,
|
|
|
|
/var/log/samba/cores/winbindd/** rw,
|
|
|
|
/var/log/samba/log.wb-* w,
|
|
|
|
/var/log/samba/log.winbindd rw,
|
2013-10-20 14:05:07 +02:00
|
|
|
/var/log/samba/log.winbindd-idmap w,
|
2014-01-02 14:01:50 +01:00
|
|
|
/var/log/samba/log.winbindd-dc-connect a,
|
2012-04-17 07:43:31 +02:00
|
|
|
/{var/,}run/samba/winbindd.pid rwk,
|
2013-10-15 23:44:56 +02:00
|
|
|
/{var/,}run/samba/winbindd/ rw,
|
2013-10-20 14:05:07 +02:00
|
|
|
/{var/,}run/samba/winbindd/pipe w,
|
2012-04-17 07:43:31 +02:00
|
|
|
|
|
|
|
# Site-specific additions and overrides. See local/README for details.
|
|
|
|
#include <local/usr.sbin.winbindd>
|
|
|
|
|
|
|
|
}
|