LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-10-2004, 04:32 PM   #1
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
workgroup not being broadcasted by samba


i believe that what my problem is...

on windows, when i try to browse "entire network" i get a message simply saying that i am unable to do so; however i can go into run or explorer and explicitly give the name of a linux share and browse it with no problems

i have noticed that sometimes i can see the specific computers and sometimes i can't; it seems quite random; running the gui tool smb4k does not even display my workgroup name! so nothing is browsable from the workgroup except when a share is directly stated

i have tried several options, including the preferred master, domain master, and local master, and combinations of those; i have tried the security options user, share, domain, and server with no luck; i only have 1 broadcast interface, so i know i'm bound to the right interface...

why am i not able to browse my network? here is my smb.conf file:

# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2004/04/10 14:43:43

# Global parameters
[global]
workgroup = MSHOME
browseable = yes
# null passwords = Yes
# preferred master = yes
# domain master = yes
security = USER
os level = 33
log level = 3
ldap ssl = no
encrypt passwords = yes
smb passwd file = /etc/samba/private/smbpasswd
valid users = jib, bob
hosts allow = 192.168.0.2, 192.168.0.3, 192.168.0.5
printing = cups

[homes]
comment = Home Directories
read only = No
create mask = 0750
browseable = No

[public]
comment = Public Stuff
path = /mnt/2winData
public = yes
writable = yes
printable = no
# read only = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
 
Old 04-10-2004, 04:54 PM   #2
explorer
Member
 
Registered: Feb 2003
Posts: 229

Rep: Reputation: 34
Could your browsable=no option be the problem under homes. When you ping from windows, can you ping by hostname or do you have to use the IP address to get a reply?

Last edited by explorer; 04-10-2004 at 04:57 PM.
 
Old 04-10-2004, 07:05 PM   #3
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Original Poster
Rep: Reputation: 30
no, it is not browseable options; and i use the ip in order to ping

here is an interesting development: using smb4k, i did a search for mshome (my workgroup) and different times i would see that 192.168.0.2 is being called mshome and sometimes 192.168.0.3 is being called mshome...

correct me if i'm wrong, but is the workgroup supposed to be identified to a computer? both those ip's are two different computers on my network... i don't know if my computer is the one that is supposed to be called mshome...

strange indeed... i'm using samba 3.02a btw
 
Old 04-10-2004, 08:14 PM   #4
explorer
Member
 
Registered: Feb 2003
Posts: 229

Rep: Reputation: 34
Usually your windows pc's are all identified by a single workgroup name, and unique computer names which is also the hostnames. Also, You should be able to ping each of your windows PC's by ip address or by hostname (computer name). So if you workgroup name is "mshome" what are the computer names (hostnames) of the two windows boxes ?
 
Old 04-10-2004, 09:06 PM   #5
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Original Poster
Rep: Reputation: 30
old is gold...

i reverted back to samba 2.28a (latest samba 2.0 series) and everything seems to be fine now; though i haven't touched anything from the default security settings now, i am concluding that my problem was just a quirk with the samba version i was using before (3.02a)

although the same strangeness is happening like described in my previous post (the workgroup mshome is being called a computer according to smb4k), it hasn't affected samba's functionality and i am able to successfully browse the network and see the workgroup like normal though network neighborhood on windows 98 and windows me machines

thanks for your time, explorer

here is my smb.conf file (that does work normally, no matter in what order computers are turned on, with printer loading and homes directory loading, but no specified secure options) using samba 2.28a

# Samba config file created using SWAT
# from localhost (127.0.0.1)
# Date: 2004/04/10 20:30:39

# Global parameters
[global]
workgroup = MSHOME
encrypt passwords = Yes
null passwords = Yes
log level = 3
os level = 33
preferred master = Yes
printing = cups

[homes]
comment = Home Directories
read only = No
create mask = 0750
browseable = No

[public]
comment = Public Stuff
path = /mnt/2winData
read only = No
guest ok = Yes

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
 
Old 04-10-2004, 09:22 PM   #6
explorer
Member
 
Registered: Feb 2003
Posts: 229

Rep: Reputation: 34
I've been using samba 2.2 since it first came out and have never had a problem. Never have used 3.x. I'm glad you got it working and that's what's important.
 
  


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 on a workgroup J_K9 Linux - Networking 7 07-08-2005 01:36 PM
netsend to workgroup using samba Tinku Linux - Networking 0 08-11-2004 08:34 PM
Samba on a windows xp home workgroup eladla Linux - Networking 1 07-03-2004 03:09 PM
Samba with MS workgroup Ahuka Mandriva 2 09-20-2003 11:17 AM
help with samba workgroup Twistedpenguin Linux - Networking 1 03-04-2003 04:36 AM

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

All times are GMT -5. The time now is 07:07 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
Open Source Consulting | Domain Registration