2006-04-11 21:52:54 +00:00
|
|
|
# ------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Copyright (C) 2002-2005 Novell/SUSE
|
2010-08-05 14:00:02 -05:00
|
|
|
# Copyright (C) 2009-2010 Canonical Ltd.
|
2006-04-11 21:52:54 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
# ------------------------------------------------------------------
|
|
|
|
|
|
|
|
#include <tunables/global>
|
|
|
|
/usr/sbin/nscd {
|
|
|
|
#include <abstractions/base>
|
|
|
|
#include <abstractions/consoles>
|
|
|
|
#include <abstractions/nameservice>
|
2007-08-23 22:49:41 +00:00
|
|
|
#include <abstractions/ssl_certs>
|
2006-04-11 21:52:54 +00:00
|
|
|
|
|
|
|
capability net_bind_service,
|
|
|
|
|
2007-08-06 15:28:24 +00:00
|
|
|
network inet dgram,
|
2007-08-21 16:32:11 +00:00
|
|
|
network inet stream,
|
2007-08-06 15:28:24 +00:00
|
|
|
|
2008-11-05 12:03:29 +00:00
|
|
|
/etc/netgroup r,
|
2006-04-11 21:52:54 +00:00
|
|
|
/etc/nscd.conf r,
|
2007-08-06 15:28:24 +00:00
|
|
|
/tmp/.winbindd/pipe rw,
|
2006-08-04 18:13:59 +00:00
|
|
|
/usr/sbin/nscd rmix,
|
2007-08-06 15:28:24 +00:00
|
|
|
/var/lib/samba/winbindd_privileged/pipe rw,
|
2011-07-14 07:57:57 -05:00
|
|
|
/{,var/}run/.nscd_socket wl,
|
|
|
|
/{,var/}run/avahi-daemon/socket w,
|
|
|
|
/{,var/}run/nscd/ r,
|
|
|
|
/{,var/}run/nscd/db* wl,
|
|
|
|
/{,var/}run/nscd/socket wl,
|
2009-11-04 14:25:42 -06:00
|
|
|
/var/{cache,run}/nscd/{passwd,group,services,hosts} rw,
|
2011-07-14 07:57:57 -05:00
|
|
|
/{,var/}run/{nscd/,}nscd.pid rwl,
|
2008-02-19 10:35:19 +00:00
|
|
|
/var/log/nscd.log rw,
|
2007-08-06 15:28:24 +00:00
|
|
|
@{PROC}/[0-9]*/fd/ r,
|
|
|
|
@{PROC}/[0-9]*/fd/* r,
|
|
|
|
@{PROC}/[0-9]*/maps r,
|
|
|
|
@{PROC}/[0-9]*/mounts r,
|
|
|
|
@{PROC}/filesystems r,
|
2010-08-05 14:00:02 -05:00
|
|
|
|
|
|
|
# Site-specific additions and overrides. See local/README for details.
|
|
|
|
#include <local/usr.sbin.nscd>
|
2006-04-11 21:52:54 +00:00
|
|
|
}
|