From: cpebenito@tresys.com (Christopher J. PeBenito) Date: Tue, 6 Mar 2012 09:06:27 -0500 Subject: [refpolicy] [PATCH v2 1/1] Support LDAP backend infrastructure In-Reply-To: <20120301200255.GA17815@siphos.be> References: <20120301200255.GA17815@siphos.be> Message-ID: <4F5619E3.8040106@tresys.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On 03/01/12 15:02, Sven Vermeulen wrote: > The DHCP daemon supports LDAP backends (next to its file-based backend). > This patch adds support for this through the dhcp_use_ldap boolean. We also > allow the DHCP daemon to bind to generic UDP ports (needed by ISC BIND proper > startup). > > Signed-off-by: Sven Vermeulen > --- > dhcp.te | 11 +++++++++++ > 1 files changed, 11 insertions(+), 0 deletions(-) > > diff --git a/dhcp.te b/dhcp.te > index d4424ad..ab04a3d 100644 > --- a/dhcp.te > +++ b/dhcp.te > @@ -4,6 +4,12 @@ policy_module(dhcp, 1.9.0) > # > # Declarations > # > +## > +##

> +## Enable LDAP backend support for DHCP daemon. > +##

> +##
> +gen_tunable(dhcp_use_ldap, false) > > type dhcpd_t; > type dhcpd_exec_t; > @@ -68,6 +74,7 @@ corenet_tcp_bind_generic_node(dhcpd_t) > corenet_udp_bind_generic_node(dhcpd_t) > corenet_tcp_bind_dhcpd_port(dhcpd_t) > corenet_udp_bind_dhcpd_port(dhcpd_t) > +corenet_udp_bind_generic_port(dhcpd_t) Looks like a port needs to be defined. -- Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com