LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-18-2012, 11:58 AM   #1
jwenzel09
LQ Newbie
 
Registered: Nov 2010
Posts: 19

Rep: Reputation: 0
troubles with samba


hello i have been trying to setup samba and on the windows side it works perfectly. However when I am on the linux side i cant freely browse through the work group. I cant see the workstations on the workgroup and when i try it will wait a few minutes then give out an error Unable to mount location failed to retreive share list from server. I can however connect to a share if i goto it directly with smb:// but id preferr to be able to connect just as i can with windoze. Also on the linux side the file transfer speed is 1/3 of what i get on windows on windows id get 80-95MB a sec wherease on linux im lucky to get 35MB a sec. The server is running RHEL6 server.

here is the output of smbtree on the samba server

JWENZEL
\\JWRHEL6S1 Samba Server Version 3.5.10-114.el6
\\JWRHEL6S1\IPC$ IPC Service (Samba Server Version 3.5.10-114.el6)
\\JWRHEL6S1\homes Home Directories
\\JWENZELSMB Samba Server Version 3.5.10-114.el6
\\JWENZELSMB\IPC$ IPC Service (Samba Server Version 3.5.10-114.el6)
\\JWENZELSMB\homes Home Directories

now heres the output of the same command on the fedora client
JWENZEL
\\JWRHEL6S1 Samba Server Version 3.5.10-114.el6
\\JWENZELSMB Samba Server Version 3.5.10-114.el6

here is my global config


[global]
log file = /var/log/samba/log.%m
load printers = yes
socket options = TCP_NODELAY
hosts allow = 127. 10.220.0.
encrypt passwords = true
passdb backend = tdbsam
dns proxy = no
cups options = raw
netbios name = jwrhel6s1
netbios aliases = jwenzelsmb
server string = Samba Server Version %v
local master = yes
workgroup = jwenzel
os level = 20
auto services = global homes
security = user
preferred master = yes
max log size = 50

Last edited by jwenzel09; 02-18-2012 at 12:05 PM.
 
Old 02-19-2012, 09:34 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,213

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Quote:
hello i have been trying to setup samba and on the windows side it works perfectly.
By this comment, I'm assuming you can access the shares on the linux system without problems. If yes, then your server is fine.

Linux finding windows shares is not the fault of your server.

Have you got an update hosts file on every system? This is something most new users never think of. The hosts file is a list of names to IP addresses. For the systems to find each other, you need to update this on all systems. Then next problem, most users run DHCP on windoze machines, because its easy, and for the most part works; until you turn them into servers and share files and printers.

The problem is the IP addresses can, and probably do change with DHCP. Samba, and the windoze protocol use names to find things. This a process that is slow, and sometimes fails. The work around is to use fixed IP addresses on windoze boxes as well as your samba server. Update the hosts file with correct information.

I see you have the samba server set as Preferred master. Good choice.

The hosts file on linux systems is usually in the /etc directory. On windoze you will have use the 'find files and folders' to locate it.

A typical entry in the hosts file will look like this:

Quote:
192.168.1.50 I-Think i-think
It is just the IP address of the system, and the hostname, and alias name of the system.
 
  


Reply



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 Troubles Snump Mandriva 6 12-17-2006 06:56 AM
Troubles with samba butler Linux - Software 5 11-30-2004 11:32 PM
samba DC troubles alec77 Linux - Networking 2 07-22-2004 06:51 AM
Samba 3.0.2a troubles digitalgravy Linux - Networking 3 05-12-2004 05:27 PM
Samba troubles... Grim Reaper Linux - Software 13 04-01-2004 07:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:12 PM.

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
Open Source Consulting | Domain Registration