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 01-01-2010, 07:43 AM   #16
AndeAnderson
Member
 
Registered: Feb 2005
Location: Pennsylvania
Distribution: Debian (maybe)
Posts: 237

Original Poster
Rep: Reputation: 30
is nmbd running?


Quote:
Originally Posted by michaelk View Post
This indicates that nmbd is running. The same thing can be used to see if smbd is running also. Try the following command:
smbclient -L Samba24 (Just press enter when the password prompt is displayed)

You should see some output that shows the browseable shares. If that works then you should be able to see it on your windows PCs network places. BTW what did you put in the hosts file and did you add any samba users? Also, if you are running a firewall make sure the SMB ports are open.
Here is the response:

Quote:
ahwebs:~# smbclient -L Samba24
Enter root's password:
Receiving SMB: Server stopped responding
tree connect failed: Call returned zero bytes (EOF)
I am a little confused on the Status of nmbd. If this:
Quote:
3532 ? Ss 0:00 /usr/sbin/nmbd -D
indicates that nmbd is running, why would Samba SWAT indicate nmbd is stopped?

I can see the Samba24 netbios name on my Windows Systems but receive the following errors:

Quote:
\\Samba24 is not accessible.
The network path was not found.
from my 2000 Pro System and my XP Pro tells me I do not have permission to access Samba24.

I have no firewalls set-up, because of the problems I experience with Vista.

Here is my hosts file. The IPs in italics are the ones I added.

Quote:
127.0.0.1 localhost
127.0.1.1 ahwebs.hsd1.pa.comcast.net. ahwebs
192.168.11.4 alive
192.168.11.6 redone
192.168.11.7 ahwebs
192.168.11.8 ahtestbed
192.168.11.41 3600


# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Thanks
 
Old 01-01-2010, 10:57 AM   #17
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,747

Rep: Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925
Is smbd running?
Also try:
smbclient -L localhost

Last edited by michaelk; 01-01-2010 at 11:09 AM.
 
Old 01-01-2010, 12:14 PM   #18
AndeAnderson
Member
 
Registered: Feb 2005
Location: Pennsylvania
Distribution: Debian (maybe)
Posts: 237

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by michaelk View Post
Is smbd running?
Also try:
smbclient -L localhost
According to Samba SWAT, smbd is running.

Here is the smbclient response:

Quote:
ahwebs:~# smbclient -L localhost
Connection to localhost failed (Error NT_STATUS_BAD_NETWORK_NAME)
ahwebs:~# smbclient -L Samba24
Enter root's password:
Receiving SMB: Server stopped responding
tree connect failed: Call returned zero bytes (EOF)
 
  


Reply

Tags
nmbd, samba, swat



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
can't mount samba share and then write to the share calbazon Linux - Software 8 10-10-2010 01:35 AM
mount windows share export to samba share -> improve network performance tuning newuser77 Linux - Server 1 07-23-2008 11:28 AM
show the samba share but can't mount the share badall Linux - Server 3 05-30-2007 04:24 AM
searching samba share breaks connection to share Elomis Linux - Server 1 05-11-2007 12:28 AM
Simple Samba Setup, Share & Not Share timmywo Linux - Software 4 07-30-2004 07:27 AM

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

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