mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-04 00:05:14 +00:00
split off abstractions/ldapclient from abstractions/nameservice
Original openSUSE changelog entry: Thu Jan 6 16:23:19 UTC 2011 - rhafer@suse.de - Splitted ldap related things from nameservice into separate profile and added some missing paths (bnc#662761)
This commit is contained in:
21
profiles/apparmor.d/abstractions/ldapclient
Normal file
21
profiles/apparmor.d/abstractions/ldapclient
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
# ------------------------------------------------------------------
|
||||||
|
#
|
||||||
|
# Copyright (C) 2011 Novell/SUSE
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of version 2 of the GNU General Public
|
||||||
|
# License published by the Free Software Foundation.
|
||||||
|
#
|
||||||
|
# ------------------------------------------------------------------
|
||||||
|
|
||||||
|
# files required by LDAP clients (e.g. nss_ldap/pam_ldap)
|
||||||
|
/etc/ldap.conf r,
|
||||||
|
/etc/ldap.secret r,
|
||||||
|
/etc/openldap/* r,
|
||||||
|
/etc/openldap/cacerts/* r,
|
||||||
|
|
||||||
|
# SASL plugins and config
|
||||||
|
/etc/sasl2/* r,
|
||||||
|
/usr/lib{,32,64}/sasl2/* r,
|
||||||
|
|
||||||
|
#include <abstractions/ssl_certs>
|
@@ -16,8 +16,6 @@
|
|||||||
/etc/group r,
|
/etc/group r,
|
||||||
/etc/host.conf r,
|
/etc/host.conf r,
|
||||||
/etc/hosts r,
|
/etc/hosts r,
|
||||||
/etc/ldap.conf r,
|
|
||||||
/etc/ldap.secret r,
|
|
||||||
/etc/nsswitch.conf r,
|
/etc/nsswitch.conf r,
|
||||||
/etc/gai.conf r,
|
/etc/gai.conf r,
|
||||||
/etc/passwd r,
|
/etc/passwd r,
|
||||||
@@ -32,9 +30,6 @@
|
|||||||
|
|
||||||
/etc/samba/lmhosts r,
|
/etc/samba/lmhosts r,
|
||||||
/etc/services r,
|
/etc/services r,
|
||||||
# all openldap config
|
|
||||||
/etc/openldap/* r,
|
|
||||||
/etc/ldap/** r,
|
|
||||||
# db backend
|
# db backend
|
||||||
/var/lib/misc/*.db r,
|
/var/lib/misc/*.db r,
|
||||||
# The Name Service Cache Daemon can cache lookups, sometimes leading
|
# The Name Service Cache Daemon can cache lookups, sometimes leading
|
||||||
@@ -60,6 +55,9 @@
|
|||||||
# nis
|
# nis
|
||||||
#include <abstractions/nis>
|
#include <abstractions/nis>
|
||||||
|
|
||||||
|
# ldap
|
||||||
|
#include <abstractions/ldapclient>
|
||||||
|
|
||||||
# winbind
|
# winbind
|
||||||
#include <abstractions/winbind>
|
#include <abstractions/winbind>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user