LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-12-2003, 02:40 PM   #1
eXor
Member
 
Registered: Mar 2002
Location: Sweden
Distribution: Slackware 10.1
Posts: 103

Rep: Reputation: 15
WHY...samba computer dosen't show!


I have samba installed on my linux server (slackware 9).

I have 4 winxp computers linked to it. But it's only 1 computer that sees the linux server in the network browser.

I can't figur this out.

All the computers are setuped just alike. You can browse all the other computers on the network and all thath things are working perfect.

From the other computers i can ping the server I can connect to it's ftp and everything.

Please help me with this!!!
 
Old 06-12-2003, 02:50 PM   #2
jmono
Member
 
Registered: Feb 2003
Location: Colombia
Distribution: Mandrake
Posts: 52

Rep: Reputation: 15
first check the workgroup, you need the same workgroup for all of them

use different users in every windows computer, but remember to add them in the samba history, and also edit your smb.conf with valid users
 
Old 06-12-2003, 02:52 PM   #3
eXor
Member
 
Registered: Mar 2002
Location: Sweden
Distribution: Slackware 10.1
Posts: 103

Original Poster
Rep: Reputation: 15
it's the same worke group on every computer.

The thing with the user.

I have not added the computer that workes users name.

How do you mena by edidting them in samba history.

How do I edit smb.conf with valid users.
 
Old 06-12-2003, 09:06 PM   #4
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
Do the following on a machine that can't browse the server:

Go to start, then choose run and type "\\192.168.1.89" (subsitute with the ip address of the samba server)

Does it open up Windows Explorer and take you to a share on the Samba server?

If so, check to see if it has the same protocols loaded as the one that can browse.
 
Old 06-13-2003, 12:13 AM   #5
Madrinator
Member
 
Registered: May 2003
Location: Guadalajara, Mexico
Distribution: Mandrake
Posts: 46

Rep: Reputation: 15
Remove any invalid and valid users entries in your smb.conf if any and try again.

Also check that you're not denying access to those machines, remove all the host deny entries if any, and check your host allow entries in smb.conf.

Reading the documentation could be of some help, at least, it will give you a clue.
 
Old 06-13-2003, 12:58 AM   #6
cmgrif
LQ Newbie
 
Registered: Dec 2001
Distribution: Madrake 8.0
Posts: 14

Rep: Reputation: 0
also check to see if you can ping the samba server from each machine. Can the XP machines all ping each other?
 
Old 06-13-2003, 04:40 AM   #7
eXor
Member
 
Registered: Mar 2002
Location: Sweden
Distribution: Slackware 10.1
Posts: 103

Original Poster
Rep: Reputation: 15
This is my smb.conf:

[global]
netbios name = SilverServer
smb passwd file = /etc/samba/smbpasswd
name resolve order = wins lmhosts hosts bcast
server string = Linux Server
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
username level = 8
workgroup = silvernet.lan
os level = 33
auto services = Filer
encrypt passwords = yes
domainmaster = yes
wins support = true
password level = 8

[Filer]
path=/home/Filer
writeable=yes

[homes]
writeable=yes
browseable=no








Last edited by eXor; 06-13-2003 at 04:41 AM.
 
Old 06-13-2003, 04:44 AM   #8
eXor
Member
 
Registered: Mar 2002
Location: Sweden
Distribution: Slackware 10.1
Posts: 103

Original Poster
Rep: Reputation: 15
All the XPs computer can ping each other. They can al browse the nework. They can al ping the server and each other.



I can't get this. Why can one computer connect but not the others.
 
Old 06-13-2003, 04:52 AM   #9
eXor
Member
 
Registered: Mar 2002
Location: Sweden
Distribution: Slackware 10.1
Posts: 103

Original Poster
Rep: Reputation: 15
Now it's working.

AFter i ran the \\192.168.0.1 in run. Evyrthin workes. Stange but now the computers can borws the linux computer.
 
Old 06-13-2003, 04:54 AM   #10
ne21
Member
 
Registered: Jun 2003
Location: Somewhere in Middle America
Distribution: Slackware 10, XandrOS
Posts: 61

Rep: Reputation: 15
Talking

Yeah! that is the computer's way of saying "Don't hit me with a large rock" glad to hear it is working!
 
Old 06-13-2003, 03:06 PM   #11
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
Okay then...

I am not sure what the problem is exactly. I know it has something to do with the browsing of the network.

Does the problem re-occur if you restart all the machines? You could try turning the Linux machine into the master browser.

The commands are

master browser = yes
OS level = 64

Do some research on these two commands. I am doing all of this from memory.

You will need to experiment a bit and find out what works.

Did any of the XP machines have netbios enabled?
 
Old 06-13-2003, 04:07 PM   #12
eXor
Member
 
Registered: Mar 2002
Location: Sweden
Distribution: Slackware 10.1
Posts: 103

Original Poster
Rep: Reputation: 15
IT worked anyway..now
 
Old 06-16-2003, 07:23 AM   #13
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 876

Rep: Reputation: 184Reputation: 184
Under windows the mechanism that allows hosts to resolve each others names when typed in, is different from the machanism used to collect all the system names into a list and distribute it, know as the Windows Browser. The windows browser can take up to 45 minutes to register a new host, or notice that its gone. It also behaves strangley when there is a clash of Master Browsers. In short, its crap, ignore anything the browser shows you unitl you have tested from the command line.

Mapping drives is good, but there are other things which could make this fail. The best commands to use to test that Netbios hosts can all see each other is nmblookup on Linux and the windows equivalent nbtstat. nbtstat -A <IP ADDRESS> will tell you if the host is listening on the netbios ports, nbtstat -a <hostname> will show that the hosts are resolving. You can then use smbclient -L <host> and net view \\host which will show you available shares on hosts.

Only once this lot is doing what it should should you take any notice of the browser.

Having said all that, if the XP hosts are configured to use the WINS server, the horrible windows browser system is bypassed and the browse window should show you only what the WINS server knows about.
 
  


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 clients don't show up in windows walterbyrd Linux - Software 1 10-19-2005 03:42 PM
FC4 doesn't show all hard drives in Computer thomasfingram Fedora 8 09-23-2005 10:03 AM
Computer connected to router doesn't show connection D4ve G Linux - Hardware 3 07-29-2005 09:01 AM
how to show partitions in gnome's computer AVD_ZM Linux - Software 3 02-10-2005 02:09 PM
samba does not show folder contents Goma_2 Linux - Networking 0 12-10-2003 05:54 AM


All times are GMT -5. The time now is 01:29 PM.

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