2005-10-10 18:50:08 +00:00
|
|
|
## <summary>SASL authentication server</summary>
|
2005-10-21 16:18:11 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
## <summary>
|
|
|
|
## Connect to SASL.
|
|
|
|
## </summary>
|
|
|
|
## <param name="domain">
|
2006-02-10 18:41:53 +00:00
|
|
|
## <summary>
|
2005-10-21 16:18:11 +00:00
|
|
|
## Domain allowed access.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </summary>
|
2005-10-21 16:18:11 +00:00
|
|
|
## </param>
|
|
|
|
#
|
|
|
|
interface(`sasl_connect',`
|
|
|
|
gen_require(`
|
|
|
|
type saslauthd_t, saslauthd_var_run_t;
|
|
|
|
')
|
|
|
|
|
|
|
|
files_search_pids($1)
|
2008-07-23 21:38:39 +00:00
|
|
|
stream_connect_pattern($1, saslauthd_var_run_t, saslauthd_var_run_t, saslauthd_t)
|
2005-10-21 16:18:11 +00:00
|
|
|
')
|
2008-02-07 16:37:47 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
## <summary>
|
|
|
|
## All of the rules required to administrate
|
|
|
|
## an sasl environment
|
|
|
|
## </summary>
|
|
|
|
## <param name="domain">
|
|
|
|
## <summary>
|
|
|
|
## Domain allowed access.
|
|
|
|
## </summary>
|
|
|
|
## </param>
|
|
|
|
## <rolecap/>
|
|
|
|
#
|
|
|
|
interface(`sasl_admin',`
|
|
|
|
gen_require(`
|
2008-07-23 21:38:39 +00:00
|
|
|
type saslauthd_t, saslauthd_tmp_t, saslauthd_var_run_t;
|
2008-02-07 16:37:47 +00:00
|
|
|
')
|
|
|
|
|
2008-05-22 15:24:52 +00:00
|
|
|
allow $1 saslauthd_t:process { ptrace signal_perms getattr };
|
|
|
|
ps_process_pattern($1, saslauthd_t)
|
2008-02-07 16:37:47 +00:00
|
|
|
|
|
|
|
files_list_tmp($1)
|
2008-05-22 15:24:52 +00:00
|
|
|
manage_files_pattern($1, saslauthd_tmp_t, saslauthd_tmp_t)
|
2008-02-07 16:37:47 +00:00
|
|
|
|
|
|
|
files_list_pids($1)
|
2008-05-22 15:24:52 +00:00
|
|
|
manage_files_pattern($1, saslauthd_var_run_t, saslauthd_var_run_t)
|
2008-02-07 16:37:47 +00:00
|
|
|
')
|