Displaying 4 results from an estimated 4 matches for "smbd_disable_trans".
2006 May 05
2
SElinux and Samba
....
I found in one of that man pages "man samba_selinux", you can just
disable SE for samba. I am sure there are other ways also but this
is what I have found so far. I tried to just open SE to samba but
that has not worked as of yet. What does work is typing -
" setsebool -P smbd_disable_trans 1" - this disables SE for just
samba then restart samba with - "service smb restart". I have not
found a way to just pass samba through SE as of yet with out
disabling SE for the samba demon.
- yvon
2010 Sep 17
1
selinux with samba
...problems setting up a samba server with sellinux in centos 5.6
(x64).
My samba config works flawlessly when selinux is disabled but fails to
access shares when selinux is enabled. Wich command makes it possible to
run samba with selinux without disabling it, now I've done: "set sebool -P
smbd_disable_trans 1" but doesn't really solve my problem.
Thanks in advance!
geert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20100917/fca68bbb/attachment-0001.html>
2012 Feb 21
1
SELinux Samba Exception on EL6
We are planning to migrate to EL6 and came across this issue that I am
trying to get around.
Current system spec:
Samba-3.5.10
Selinux-policy-3.7.19
Policycoreutils-2.0.83
Autofs-5.0.5
In EL5 we disabled selinux for samba using 'smbd_disable_trans'
directive and the shares work fine. On RHEL6 I couldn't find this
Boolean. Is there an alternate directive that accomplishes same?
The mounts that I want to share using samba have "autofs_t" context and
I don't want to change it. Any recommendations?
2008 Jan 21
0
SELinux issue
...0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) comm="smbd" exe="/usr/sbin/smbd" subj=user_u:system_r:smbd_t:s0 key=(null)
audit2allow suggests I create policy as follows:
allow smbd_t samba_log_t:file rename;
To resolve the problem. I decided to just do:
setsebool -P smbd_disable_trans 1
And this cleared up the errors.
Anyways, is this a bug? Seems like policy should allow smbd to work
with its own logfiles....
Can file upstream if necessary, but starting here.
Ray