LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Samba problems -> can't acess to shares in Windows (https://www.linuxquestions.org/questions/linux-software-2/samba-problems-cant-acess-to-shares-in-windows-396622/)

JoaoMorgado 12-26-2005 02:06 PM

Samba problems -> can't acess to shares in Windows
 
Hi.

I'm trying to configure samba on an Fedora Core 4, so that Windoze users can connect to it.
I've tryed out some smb.conf files, but at all times, the most that I can do is to see the shares in the explorer (in Windows).

Now I only have the pub share visible, but there are some home areas in /home: jmorgado, etc...

When I try to "Map Network Drive" in Windows XP (the users in samba are not the same as the windows logins) I get:
"The network path \\personaserver01\jmorgado could not be found"

Try to do the same with pub share, but the same occurs. Trying to double click the pub share in windows explorer will give:
"\\Personaserver01\pub is not acessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permisions.
The network name cannot be found."

I added the smbguest user in /etc/passwd, /etc/shadow and the smbguest group in /etc/group as showed in

hr.uoregon.edu/davidrl/samba.html/

I've executed smbpasswd -a with smbguest and the users with home directories at /home...
I've executed "set sebool -P samba_enable_home_dirs=1" so the SELinux would enalble the home dirs...
I've stoped iptables, just to eliminate sources of problems with the config, but still can't reach the shares in the samba server.

Next is a copy of the current smb.conf file:
[global]
netbios name = personaserver01
workgroup = PERSONA

guest account = smbguest

security = share
encrypt passwords = yes

# Run a Wins Server
wins support = yes

local master = yes
preferred master = yes
os level = 65

# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 IPTOS_LOWDELAY

[homes]
comment = %u's Home Directory
browsable = no
read only = no
map archive = yes
public = yes

[pub]
path = /home/pub
read only = no
guest ok = yes
guest only = yes

Could anyone give me some help with this please???? I really need to put samba up and running :(

Could it be something with SELinux? How could I turn it off, just for trying...?

mjmwired 12-27-2005 12:03 PM

Quote:

Originally Posted by JoaoMorgado
Could it be something with SELinux? How could I turn it off, just for trying...?

Try rebooting the server and adding 'selinux=0' on your kernel line in grub. Just hit 'E' when grub loads.

JoaoMorgado 12-27-2005 06:08 PM

Sorry, it was a win firewall misconfiguration... :(

All is right now, thanks :)


All times are GMT -5. The time now is 02:51 AM.