Changeset 2649

Show
Ignore:
Timestamp:
03/21/08 09:18:13 (9 months ago)
Author:
pebenito
Message:

trunk: fix winbind socket connection interface for default location of the sock_file.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Changelog

    r2639 r2649  
     1- Fix winbind socket connection interface for default location of the 
     2  sock_file. 
    13- Add wireshark module based on ethereal module. 
    24- Revise upstart support in init module to use a tunable, as upstart is now 
  • trunk/policy/modules/services/samba.if

    r2437 r2649  
    485485# 
    486486interface(`samba_stream_connect_winbind',` 
    487         gen_require(` 
    488                 type samba_var_t, winbind_t, winbind_var_run_t; 
    489         ') 
    490  
    491         files_search_pids($1) 
    492         allow $1 samba_var_t:dir search_dir_perms; 
    493         stream_connect_pattern($1,winbind_var_run_t,winbind_var_run_t,winbind_t) 
    494 ') 
     487        ifdef(`distro_redhat',` 
     488                gen_require(` 
     489                        type samba_var_t, winbind_t, winbind_var_run_t; 
     490                ') 
     491 
     492                files_search_pids($1) 
     493                allow $1 samba_var_t:dir search_dir_perms; 
     494                stream_connect_pattern($1,winbind_var_run_t,winbind_var_run_t,winbind_t) 
     495        ',` 
     496                gen_require(` 
     497                        type winbind_t, winbind_tmp_t; 
     498                ') 
     499 
     500                # the default for the socket is (poorly named): 
     501                # /tmp/.winbindd/pipe 
     502                files_search_tmp($1) 
     503                stream_connect_pattern($1,winbind_tmp_t,winbind_tmp_t,winbind_t) 
     504        ') 
     505') 
  • trunk/policy/modules/services/samba.te

    r2617 r2649  
    11 
    2 policy_module(samba,1.7.1
     2policy_module(samba,1.7.2
    33 
    44#################################