16748c5
16748c5
## <summary>dbus system service which manages discovery and enrollment in realms and domains like Active Directory or IPA</summary>
16748c5
16748c5
########################################
16748c5
## <summary>
16748c5
##	Execute realmd in the realmd_t domain.
16748c5
## </summary>
16748c5
## <param name="domain">
16748c5
## <summary>
16748c5
##	Domain allowed to transition.
16748c5
## </summary>
16748c5
## </param>
16748c5
#
16748c5
interface(`realmd_domtrans',`
16748c5
	gen_require(`
16748c5
		type realmd_t, realmd_exec_t;
16748c5
	')
16748c5
16748c5
	corecmd_search_bin($1)
16748c5
	domtrans_pattern($1, realmd_exec_t, realmd_t)
16748c5
')
387cb61
387cb61
########################################
387cb61
## <summary>
387cb61
##	Send and receive messages from
387cb61
##	realmd over dbus.
387cb61
## </summary>
387cb61
## <param name="domain">
387cb61
##	<summary>
387cb61
##	Domain allowed access.
387cb61
##	</summary>
387cb61
## </param>
387cb61
#
387cb61
interface(`realmd_dbus_chat',`
387cb61
	gen_require(`
387cb61
		type realmd_t;
387cb61
		class dbus send_msg;
387cb61
	')
387cb61
387cb61
	allow $1 realmd_t:dbus send_msg;
387cb61
	allow realmd_t $1:dbus send_msg;
387cb61
')