LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-26-2005, 03:06 PM   #1
JoaoMorgado
LQ Newbie
 
Registered: Dec 2005
Posts: 3

Rep: Reputation: 0
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...?
 
Old 12-27-2005, 01:03 PM   #2
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
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.
 
Old 12-27-2005, 07:08 PM   #3
JoaoMorgado
LQ Newbie
 
Registered: Dec 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Sorry, it was a win firewall misconfiguration...

All is right now, thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
samba shares and windows xp highfructose Linux - Software 1 05-08-2005 03:22 AM
samba shares and windows xp highfructose Linux - Software 0 05-07-2005 06:50 PM
Can't acess directories shared by Samba in windows XP vador Linux - Networking 4 10-29-2004 05:06 PM
Samba 3.0.6 - How to mount Samba Shares from Windows 2003? kp1 Linux - Software 2 09-10-2004 07:03 PM
Linux can mount samba shares but not windows shares bindsocket Linux - Software 1 12-01-2003 06:28 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration