LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-07-2005, 12:24 AM   #1
shodekiagari
Member
 
Registered: Nov 2003
Posts: 47

Rep: Reputation: 15
Trying to get SAMBA working "Unable to find any workgroups in your local network."


Whenever I type smb:/ into the url bar in konqueror I get the following message.

"Unable to find any workgroups in your local network." What does this mean? How can I add workgroups? I can access specific computers if I type in their ip but I'd like it if samba were to just work.

I've tried various samba.conf's and this is the latest

[global]
workgroup = PANTHEON
security = user
encrypt passwords = yes
guest account = guest
wins support = yes
local master = yes
os level = 99
domain master = yes
preferred master = yes

[tmp]
path=/tmp
writeable=yes

Copied pretty much verbatim from a Gentoo source.Whenever I try and access the share from the computer samba is running on I get the unable to find any workgroups error. Any help would be appreciated.

Thank you,

Harrison
 
Old 07-08-2005, 01:32 PM   #2
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Any help would be appreciated
There's a good "Any" key kind of joke in there somewhere ... But seriously:

Questions
---------
Although this is probably only a Samba problem, it might be really helpful to know what distro you are using -- how about adding it to your profile?

Similarly what version of Samba are you using? I will assume 3.something.

Also, why not put your location in your profile? Sometimes it will illuminate differences in language or usage. (Tongue in cheek -- no flames please -- I am fairly fluent in English, French, & Texan. Also, I understand Brit & Aussie...)

[/gentle_chiding]

Caveat/Warning/Disclaimer
-----------------------
I am not (yet) a Samba expert, just trying to become one.
As with all advice in GNU/Linux: "If it breaks, you get to keep the pieces."

Background
-----------
I am running SimplyMEPIS 3.3 on this box,
I did nothing special about Samba (3.0.10-1) during install,
I have made only 2 minor changes to my smb.conf,
I see my network/workgroup "whenever I type smb:/ into the url bar in konqueror" (just did so).
BTW, have you tried smclient or Smb4K? I am assuming you would have the same problems with them.

Suggestions
-----------
Comparing my smb.conf to your samba.conf, the following ideas occur to me:

"workgroup = PANTHEON"
I assume that you have set the workgroup to "PANTHEON" in each of your networked Winders (tm) boxen. Also, although I don't think it makes any difference, my workgroup name is in lower case.

("hosts allow = ...") -- missing
I don't know if this line is necessary, but mine is:
hosts allow = 127. 192.168.nnn.
where nnn is my chosen "Class C" subnet number, and "127." enables loopback. Again, I assume that all your boxen are on the same subnet & have assigned IP's, either fixed or through dhcp.

"security = user"
I doubt this is the problem, but you might try "security = share" temporarily.

"wins support = yes"
Another thing to disable during debugging.

"local master = yes"
"os level = 99"
"domain master = yes"
"preferred master = yes"
These imply you are running a Domain not just a workgroup. Is this true? If not change these 4 to:
"domain master = no"
"preferred master = no"
permanently. If you do want a domain (& Active Directory) then maybe a temporary change would help.

Not a s[a]mb[a].conf issue, & I am not even sure I even remember correctly; but I believe I read that if there are no shares enabled on any of your Winders(tm) boxen, then the workgroup will be invisible.

Addition Info
------------
In case it's helpful, here's my smb.conf:
Code:
;*******************section global*****************
[global]

# Do something sensible when Samba crashes: mail the admin a backtrace
panic action = /usr/share/samba/panic-action %d
printing = cups
workgroup = ________
server string = %h server (Samba %v)
#hosts allow = 192.168.0. 192.168.1. 192.168.2. 127.
hosts allow = 127. 192.168.___.
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
passdb backend = tdbsam guest
dns proxy = no
max log size = 1000
security = share
restrict anonymous = no
domain master = no
preferred master = no
max protocol = NT
ldap ssl = No
server signing = Auto
Copied & pasted verbatim, except "_"'s are substituted for personal info, & the share sectons are omitted.

Closing
-------
Hope this helps, please be sure to post your outcome.
 
  


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
Unable to find modem under FC3 (manufacturer "PCtel") mistrypremal Linux - Hardware 3 02-06-2005 08:42 AM
(SuSE 9.1 Pro) - Unable to find any workgroups in your local network poqonos Linux - Networking 0 09-15-2004 08:35 AM
(SuSE 9.1) Unable to find any workgroups in your local network frank-01 Linux - Networking 13 09-06-2004 05:44 PM
"unable to find usable depth" and other errors when starting X with xdm in RHL 5.2 celejar Linux - Newbie 3 03-07-2004 03:16 PM
fdisk returns "unable to find /dev/hda" cfdisk crashes. cirofren Linux - Newbie 2 11-06-2003 12:03 AM


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