Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-24-2003, 10:50 AM   #1
Registered: Dec 2002
Location: Guildford, UK
Posts: 43

Rep: Reputation: 15
Angry smbd - not keen on running

Running Redhat 8.0.

On start-up, SMB says [OK]

But when I look at the processes running, I have nmbd but no smbd.

"service smb start" says [OK], but it seems to be lying.

SWAT says smbd and nmbd are not running.

If I hit the "Start smbd" button, it still says smbd isn't running... but now the process appears, and it is running!

What on earth is going on?

Ideally (of course) I would like it to start properly when I boot the system, and sit there in the background without making any further fuss!
Old 04-24-2003, 02:57 PM   #2
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Rep: Reputation: 30
How are you checking whether or not the service is running? I would recommend the following if you're not using it:

# ps -ef | grep smbd
# ps -ef | grep nmbd

Also, what startup file do you have them in, and how is that line written?

Finally, did you try running testparm to see if your smb.conf was good?
Old 04-25-2003, 08:50 AM   #3
Registered: Dec 2002
Location: Guildford, UK
Posts: 43

Original Poster
Rep: Reputation: 15
By trial-and-error, it all seems to work fine if I comment out the following line from my smb.conf:

bind interfaces only = yes

The system is also being used as my internet firewall, so I was quite keen to ensure that I don't get any unwanted intruders. However, it doesn't seem to me that leaving that line out is leaving me terribly vulnerable.

The other networking stuff I've got in smb.conf comprises:

hosts allow = 192.168.1. localhost
interfaces =
Old 04-26-2003, 05:18 PM   #4
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
It would be best to use a dedicated machine as the firewall. There have been recent vulnerabilities in Samba. I really woudn't run Samba on a machine attached to the Internet.

If you must run Samba on the machine, make sure you have the latest version and that you keep it current.

The more software you have on a machine, the easier it is for someone to find a way in.


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
SMBD not running? alirezan1 Linux - Networking 0 12-21-2004 05:05 AM
Samba Dameon smbd is not running and won't start rjcmi Linux - Newbie 2 04-22-2004 09:44 AM
Why so many smbd processes running mdkelly Linux - Networking 2 11-05-2003 05:47 PM
SWAT status, SMBD not running Dogface1SG Linux - Networking 5 10-16-2003 01:45 PM
command line check to see if smbd and nmbd are running rioguia Linux - Networking 2 11-18-2002 01:46 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration