Chris PeBenito 17de1b
## <summary>SASL authentication server</summary>
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
## <summary>
Chris PeBenito 17de1b
##	Connect to SASL.
Chris PeBenito 17de1b
## </summary>
Chris PeBenito 17de1b
## <param name="domain">
Chris PeBenito 17de1b
##	<summary>
Chris PeBenito 17de1b
##	Domain allowed access.
Chris PeBenito 17de1b
##	</summary>
Chris PeBenito 17de1b
## </param>
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
interface(`sasl_connect',`
Chris PeBenito 17de1b
	gen_require(`
Chris PeBenito 17de1b
		type saslauthd_t, saslauthd_var_run_t;
Chris PeBenito 17de1b
	')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
	files_search_pids($1)
Chris PeBenito 17de1b
	allow $1 saslauthd_var_run_t:dir search;
Chris PeBenito 17de1b
	allow $1 saslauthd_var_run_t:sock_file { read write };
Chris PeBenito 17de1b
	allow $1 saslauthd_t:unix_stream_socket connectto;
Chris PeBenito 17de1b
')