41 lines
1.5 KiB
Diff
41 lines
1.5 KiB
Diff
|
Index: profiles/apparmor.d/abstractions/samba
|
||
|
===================================================================
|
||
|
--- profiles/apparmor.d/abstractions/samba.orig 2014-07-04 12:09:58.000000000 +0200
|
||
|
+++ profiles/apparmor.d/abstractions/samba 2015-04-17 21:24:22.463107165 +0200
|
||
|
@@ -13,7 +13,7 @@
|
||
|
/usr/share/samba/*.dat r,
|
||
|
/usr/share/samba/codepages/{lowcase,upcase,valid}.dat r,
|
||
|
/var/cache/samba/ w,
|
||
|
- /var/lib/samba/**.tdb rwk,
|
||
|
+ /var/lib/samba/** rwk,
|
||
|
/var/log/samba/cores/ rw,
|
||
|
/var/log/samba/cores/** rw,
|
||
|
/var/log/samba/log.* w,
|
||
|
Index: profiles/apparmor.d/usr.sbin.winbindd
|
||
|
===================================================================
|
||
|
--- profiles/apparmor.d/usr.sbin.winbindd.orig 2014-04-21 22:10:51.000000000 +0200
|
||
|
+++ profiles/apparmor.d/usr.sbin.winbindd 2015-04-17 21:26:56.262142786 +0200
|
||
|
@@ -10,8 +10,12 @@
|
||
|
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/* rw,
|
||
|
@{PROC}/sys/kernel/core_pattern r,
|
||
|
/tmp/.winbindd/ w,
|
||
|
/tmp/krb5cc_* rwk,
|
||
|
@@ -21,9 +25,6 @@
|
||
|
/usr/sbin/winbindd mr,
|
||
|
/var/cache/krb5rcache/* rw,
|
||
|
/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,
|