LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 06-30-2005, 10:54 PM   #1
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 721

Rep: Reputation: 63
Samba server is accessable but doesn't show up in workgroup (Slack 10.1) [SOLVED!]


Hello, everybody. I have yet another question for the good people at Linuxquestions.org :-) .

My problem is that while I can access samba shares by typing in the computer's name or IP address, whenever I try to access it by browsing the workgroup (from either a Windows box or a Linux box), it doesn't show up; it makes me type in the address manually. I wouldn't mind this too much, but not everybody on my network is savvy enough to figure this out on thier own.

Here's my setup:

1 domain master (samba) (Yesteryear)
several secondary servers (samba) (Orchestrator, oldShoe, TheRef, Spot, luckybug)
several transitory Windows clients (KatesLaptop, etc.)

When I go into either konqueror (smb:/), LinNeighborhood, or Network Neighborhood (entire network), I can see my workgroup, THEBAND. In THEBAND, however, are only Yesteryear, Orchestrator, TheRef, and Spot. No oldShoe or luckybug. Strangely enough, both of those not showing are machines that I installed Slackware 10.1 directly onto, instead of upgrading from 10.0. The SuSE machine (Spot) works fine; Orchestrator, which I upgraded from 10.0 to 10.1 works fine, as do the Slackware 10.0 boxes.

Here Spot's working smb.conf:

Code:
[global]
        workgroup = THEBAND
        server string = SuSE Samba server
        netbios name = Spot
        security = share
        wins server = 192.168.1.249
        os level = 0
        name resolve order = wins, lmhosts
        remote announce = 192.168.1.249
        remote browse sync = 192.168.1.249
Here is oldShoe's (formerly) slightly broken smb.conf:

Code:
[global]
        workgroup = THEBAND
        server string = Jasons Samba Server
        netbios name = oldShoe
        security = share
        wins server = 192.168.1.249
        os level = 0
        name resolve order = wins, lmhosts
        remote announce = 192.168.1.249
        remote browse sync = 192.168.1.249
192.168.1.249 is Yesteryear's IP (domain master/WINS server).




edit: in the course of working on this problem I figured it out. The above configuration now works. If you have any questions feel free to ask them!

Last edited by DaneM; 06-30-2005 at 10:58 PM.
 
Old 07-01-2005, 09:10 PM   #2
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: KirraMail Live Email Server
Posts: 1,276

Rep: Reputation: 61
Could you post how you solved this problem, this will help others who may have a similar problem.
 
Old 07-01-2005, 09:37 PM   #3
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 721

Original Poster
Rep: Reputation: 63
I corrected the above (previously broken) smb.conf file by making it match EXACTLY the one from a working computer. The above entries are correct. It turns out that Slackware had nothing to do with it; I was just being a goon. I suspect that the ORDER of the commands in smb.conf had partly to do with my problem, but I'm not entirely sure. If you happen to have the book, Samba-3 by Example, use the entries in there (If you don't have it, I highly reccomend it!).

Anything else I should clear up?

Cheers!

--Dane
 
Old 07-03-2005, 02:15 AM   #4
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: KirraMail Live Email Server
Posts: 1,276

Rep: Reputation: 61
I think samba doesn't care what the order of the smb.conf is, as long as the [global} settings are at the top. I think it reads it as a whole file not in logical order like a script, I might be wrong on that so don't take my word for it.

That book sounds like a good idea, i'll keep an eye out next time i'm at the book shop, although I probably wont really need it, my samba server has been running for 2 1/2 years and I haven't had any problems with it so far.
 
  


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 on a workgroup J_K9 Linux - Networking 7 07-08-2005 01:36 PM
Creating a file server accessable via http? ankursaxena Linux - Software 2 02-27-2005 10:55 AM
Samba name server xx has stopped being a local master browser for workgroup xx saavik Linux - Networking 1 06-14-2004 07:25 PM
Samba with MS workgroup Ahuka Mandriva 2 09-20-2003 11:17 AM
SAMBA Netbios and WorkGroup Name does not show up in Network Neighbourhood john lee Linux - Newbie 2 05-08-2003 09:42 AM


All times are GMT -5. The time now is 07:05 AM.

Main Menu
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