trunk: fix winbind socket connection interface for default location of the sock_file.
This commit is contained in:
parent
9e8c3aa651
commit
9377a3e59c
@ -1,3 +1,5 @@
|
||||
- Fix winbind socket connection interface for default location of the
|
||||
sock_file.
|
||||
- Add wireshark module based on ethereal module.
|
||||
- Revise upstart support in init module to use a tunable, as upstart is now
|
||||
used in Fedora too.
|
||||
|
@ -484,6 +484,7 @@ interface(`samba_read_winbind_pid',`
|
||||
## </param>
|
||||
#
|
||||
interface(`samba_stream_connect_winbind',`
|
||||
ifdef(`distro_redhat',`
|
||||
gen_require(`
|
||||
type samba_var_t, winbind_t, winbind_var_run_t;
|
||||
')
|
||||
@ -491,4 +492,14 @@ interface(`samba_stream_connect_winbind',`
|
||||
files_search_pids($1)
|
||||
allow $1 samba_var_t:dir search_dir_perms;
|
||||
stream_connect_pattern($1,winbind_var_run_t,winbind_var_run_t,winbind_t)
|
||||
',`
|
||||
gen_require(`
|
||||
type winbind_t, winbind_tmp_t;
|
||||
')
|
||||
|
||||
# the default for the socket is (poorly named):
|
||||
# /tmp/.winbindd/pipe
|
||||
files_search_tmp($1)
|
||||
stream_connect_pattern($1,winbind_tmp_t,winbind_tmp_t,winbind_t)
|
||||
')
|
||||
')
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
policy_module(samba,1.7.1)
|
||||
policy_module(samba,1.7.2)
|
||||
|
||||
#################################
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user