LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-15-2013, 09:21 PM   #1
larrybg
Member
 
Registered: Aug 2013
Posts: 31

Rep: Reputation: Disabled
Exclamation Samba share won't show in windows workgroup


I'm running CentOS 6.4 and having a problem with Samba shares. All my Windows based computers cannot see CentOS shared folders in the Workgroup, but can open them by IP. Also there is a NAS drive that all Windows boxes can access by name, but CentOS server cannot, only by IP. I did my tests on my home network before getting this box installed at my friend's shop, and everything worked. What do you think? Could be the network issue, or my configuration?
This CentOS box should replace old Windows2003 server.

Here is my smb.conf:

Code:
[global]
        workgroup = MYWORK
        netbios name = SERVER1
        server string = My File Server Version %v
        log file = /var/log/samba/log.%m
        max log size = 50
        idmap config * : backend = tdb
        cups options = raw

[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        print ok = Yes
        browseable = No

[data]
        comment = Samba Data Share Directory
        path = /media/share_data/data
        valid users = @shareusers
        force group = shareusers
        read only = No
        create mask = 0770

[installs]
        comment = Samba Install Packages
        path = /media/share_data/installs
        valid users = @shareusers
        force group = shareusers
        read only = No
        create mask = 0770

[printer_scans]
        comment = Samba Printer Scans
        path = /media/share_data/printer_scans
        valid users = @shareusers
        force group = shareusers
        read only = No
        create mask = 0770
 
Old 09-16-2013, 04:15 AM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
If everything worked at home, but doesn't at your friend's, then it must be his/her network setup. Are the machines all running the same Windows version? Is the work group name correct? Did you wait a while; Windows networks seem flaky in general in terms of refreshing time...
 
Old 09-16-2013, 11:06 AM   #3
larrybg
Member
 
Registered: Aug 2013
Posts: 31

Original Poster
Rep: Reputation: Disabled
I will be there to troubleshoot it. Will update.
 
Old 09-18-2013, 01:03 AM   #4
zafar_dandoti
Member
 
Registered: Dec 2005
Location: India
Distribution: centos
Posts: 178

Rep: Reputation: 13
firewall of windows clients should allow file and print sharing,add the exception to windows firewall or disable it..
 
Old 09-18-2013, 08:42 AM   #5
larrybg
Member
 
Registered: Aug 2013
Posts: 31

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by zafar_dandoti View Post
firewall of windows clients should allow file and print sharing,add the exception to windows firewall or disable it..
Windows firewall doesn't block view of the all available computers on the Network, it blocks the access it self, and we can access to shares by IP. So, its not THE reason.
Well, we ended up with updating shortcuts on the desktops to use IP address.
I'm not marking this thread as SOLVED, just in case for some other ideas.
 
Old 09-18-2013, 02:30 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
You need to start nmb also as a service.
 
Old 09-18-2013, 05:29 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,681

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
linux can not resolve netbios names to IP addresses without a little help. You have a few options ie.e use the hosts or lmhosts file, configure samba as a WINS server or use a local DNS. With only a few devices on the network the hosts or lmhosts file is the easiest. The second easiest is configuring samba as a WINS server. In a nutshell samba always becomes the master browser and your windows PCs use it to find the server and other windows devices. The server can also use WINS to resolve netbios names to IP address.

What version of windows is running in the shop? As stated the workgroup name should be the same on all computers. Are the computers configured for a homegroup?

http://www.samba.org/samba/docs/using_samba/ch07.html

http://windows.microsoft.com/en-us/w...dows=windows-7
 
  


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 workgroup computers show up sporadically war1025 Linux - Networking 1 06-01-2009 01:11 PM
Samba Share to Win XP Workgroup phr33k Linux - Server 4 03-19-2008 09:33 AM
Samba share for everyone in the same workgroup starcutter Linux - Software 4 08-01-2006 05:29 PM
Samba server is accessable but doesn't show up in workgroup (Slack 10.1) [SOLVED!] DaneM Linux - Networking 3 07-03-2005 02:15 AM
SAMBA Netbios and WorkGroup Name does not show up in Network Neighbourhood john lee Linux - Newbie 2 05-08-2003 09:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:01 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