1 |
Couldn't find the setting how to quotes in outlook 2010... |
2 |
|
3 |
<<<<<<<<<<< |
4 |
On Sat, Apr 14, 2012 at 10:41:48AM -0400, Alain Toussaint wrote: |
5 |
> In the samba 4 howto, the instructions related to selinux apply to RH |
6 |
> and when I tried to compile this modules, I had an error because I'm |
7 |
> running in strict mode and semodule tell me it's an MLS modules. What |
8 |
> do I need to modify to this module to run it in strict mode? |
9 |
> |
10 |
> module samba4 1.0; |
11 |
> |
12 |
> |
13 |
> require { |
14 |
> type ntpd_t; |
15 |
> type usr_t; |
16 |
> type initrc_t; |
17 |
> class sock_file write; |
18 |
> class unix_stream_socket connectto; |
19 |
> } |
20 |
> |
21 |
> #============= ntpd_t ============== |
22 |
> allow ntpd_t usr_t:sock_file write; |
23 |
> |
24 |
> #============= ntpd_t ============== |
25 |
> allow ntpd_t initrc_t:unix_stream_socket connectto; |
26 |
|
27 |
Doesn't look like an MLS specific module here. Just change the header: |
28 |
instead of "module samba4 1.0" write "policy_module(samba4, 1.0)" and then |
29 |
you should be able to build it with: |
30 |
|
31 |
~# make -f /usr/share/selinux/strict/include/Makefile samba4.pp ~# |
32 |
semodule -i samba4.pp |
33 |
|
34 |
Perhaps you also have a .fc file that goes with it? If you do, that might |
35 |
contain some references to sensitivity labels or so that only apply to |
36 |
MLS. |
37 |
In that case, tell me what the .fc file looks like. |
38 |
|
39 |
Wkr, |
40 |
Sven Vermeulen |
41 |
|
42 |
>>>>>>>>> |
43 |
|
44 |
Actually, I followed the instruction over there: |
45 |
|
46 |
http://wiki.samba.org/index.php/Samba4/HOWTO |
47 |
|
48 |
and there: |
49 |
|
50 |
http://wiki.samba.org/index.php/Samba4/Winbind (yes I can login as |
51 |
Administrator on my Linux box). |
52 |
|
53 |
There isn't an .fc files, just the module for samba 4 as it's meant to run |
54 |
on RHEL 6 in targeted mode (does RHEL use MLS policy). Thanks for the |
55 |
instruction, I will correct the module and apply it. |
56 |
|
57 |
Alain |