/etc/apparmor.d/usr.sbin.slapd is in slapd 2.4.28-1.1ubuntu4.6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | # vim:syntax=apparmor
# Last Modified: Fri Jan 4 15:18:13 2008
# Author: Jamie Strandboge <jamie@ubuntu.com>
#include <tunables/global>
/usr/sbin/slapd {
#include <abstractions/base>
#include <abstractions/nameservice>
#include <abstractions/ssl_certs>
/etc/ssl/private/ r,
/etc/ssl/private/* r,
/etc/sasldb2 r,
capability dac_override,
capability net_bind_service,
capability setgid,
capability setuid,
/etc/gai.conf r,
/etc/hosts.allow r,
/etc/hosts.deny r,
# ldap files
/etc/ldap/** kr,
/etc/ldap/slapd.d/** rw,
# kerberos/gssapi
/dev/tty rw,
/etc/krb5.keytab kr,
/var/tmp/ rw,
/var/tmp/** rw,
# the databases and logs
/var/lib/ldap/ r,
/var/lib/ldap/** rwk,
# lock file
/var/lib/ldap/alock kw,
# pid files and sockets
/{,var/}run/slapd/* w,
/{,var/}run/nslcd/* w,
/usr/lib/ldap/ r,
/usr/lib/ldap/* mr,
/usr/sbin/slapd mr,
# Site-specific additions and overrides. See local/README for details.
#include <local/usr.sbin.slapd>
}
|