logo

apparmor.d

Unnamed repository; edit this file 'description' to name the repository. git clone https://hacktivis.me/git/apparmor.d.git

usr.sbin.winbindd (1190B)


  1. abi <abi/3.0>,
  2. include <tunables/global>
  3. profile winbindd /usr/{bin,sbin}/winbindd {
  4. include <abstractions/base>
  5. include <abstractions/nameservice>
  6. include <abstractions/samba>
  7. include <abstractions/kerberosclient>
  8. deny capability block_suspend,
  9. capability dac_override,
  10. capability ipc_lock,
  11. capability setuid,
  12. /etc/samba/netlogon_creds_cli.tdb rwk,
  13. /etc/samba/passdb.tdb{,.tmp} rwk,
  14. /etc/samba/secrets.tdb rwk,
  15. /etc/samba/smbd.tmp/ rw,
  16. /etc/samba/smbd.tmp/msg/ rw,
  17. /etc/samba/smbd.tmp/msg/* rwk,
  18. @{PROC}/sys/kernel/core_pattern r,
  19. /tmp/.winbindd/ w,
  20. /tmp/krb5cc_* rwk,
  21. /usr/lib*/samba/gensec/krb*.so mr,
  22. /usr/lib*/samba/idmap/*.so mr,
  23. /usr/lib*/samba/nss_info/*.so mr,
  24. /usr/lib*/samba/pdb/*.so mr,
  25. /usr/lib*/samba/{,samba/}samba-dcerpcd Px -> samba-dcerpcd,
  26. /usr/{bin,sbin}/winbindd mr,
  27. /var/cache/krb5rcache/* rwk,
  28. /var/lib/sss/pubconf/kdcinfo.* r,
  29. /var/log/samba/log.winbindd rw,
  30. @{run}/{samba/,}winbindd.pid rwk,
  31. @{run}/samba/winbindd/ rw,
  32. @{run}/samba/winbindd/pipe w,
  33. @{run}/user/*/krb5cc/* rwk,
  34. # Site-specific additions and overrides. See local/README for details.
  35. include if exists <local/usr.sbin.winbindd>
  36. }