<div dir="ltr"><div><span style="font-family: courier new,monospace;">Cara,</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Com você provavelmente está acontecendo da mesma forma que aconteceu comigo, o SELinux está ativado e provavelmente o Iptables também. O SELinux é tipo um firewall pessoal, usando para controlar acessos.</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Vamos verificar se o SELinux está ativo: </span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
</div><span style="font-family: courier new,monospace;"># getenforce</span><br style="font-family: courier new,monospace;"><div><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Se aparecer "Enforcing" quer dizer que está ativo, para desativa-lo temporariamente, digite:</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"># setenforce 0</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Para desativa-lo permanentemente abra o arquivo /etc/selinux/config e altere a linha:<br>
<br>De:<br><br style="font-family: courier new,monospace;"></span><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex; font-family: courier new,monospace;" class="gmail_quote">
SELINUX=enforcing<br></blockquote><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Para:</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex; font-family: courier new,monospace;" class="gmail_quote">SELINUX=disabled</blockquote><div><br><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Após reiniciar a máquina ele estará completamente desativado, por enquanto não é necessário reiniciar, porque você já o desativou temporariamente com o comando setenforce.</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Agora para limpar as regras do iptables, digite:</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"># iptables -F</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Aproveite e desative-o definitivamente para não ter mais problemas:</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"># chkconfig iptables off</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Pronto! Reincie o samba apenas para certificar que ele está no ar e tente acessar novamente! </span><span style="font-family: courier new,monospace;">Espero ter ajudado!</span><br style="font-family: courier new,monospace;">
<br><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Atenciosamente,</span><br><br></div><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">  _</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> °v°  <b>Hugo Leonardo de Freitas</b></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/(_)\ Red Hat Certified Engineer (RHCE)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> ^ ^  TerraVista Consultoria Ltda.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">      <a href="http://www.tvconsultoria.com.br">www.tvconsultoria.com.br</a></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">      (62) 3251-2990</span><br><br><br><br><br><br><div class="gmail_quote">2008/8/13 Junior Tomazelli <span dir="ltr"><<a href="mailto:linux.charged@gmail.com">linux.charged@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Verifique se você permitiu writable em [home] localizado em /etc/samba/smb.conf e caso voce deseja compartilhar outra pasta alem da sua home, voce deverá adicioná-los no final do seu arquivo samba.conf :<br>

<br>[dados]<br>comment = Dados de usuários<br>path=/dados<br>browseable = yes<br>writable = yes<br>write list = usuario<br>create mask = 0700<br>directory mask = 0700<br><br>E após todas as modificações reinicie o serviço samba /etc/init.d/samba restart<br clear="all">

<br>-- <br>Wolnei Cândido Tomazelli Junior (Charged)<br>Brazil Fedora Ambassador<br>Designer and TI<br>E-mail : <a href="mailto:linux.charged@gmail.com" target="_blank">linux.charged@gmail.com</a><br>Linux User #477062<br>
<br>
</div>
<br>--<br>
Fedora-users-br mailing list<br>
<a href="mailto:Fedora-users-br@redhat.com">Fedora-users-br@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/fedora-users-br" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-users-br</a><br>
<br></blockquote></div>
</div></div>