954,180 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Samba

I'm trying to setup samba. I did everything according to the book. When I type in, in the web browser: localhost:901 the error is "connection is refused"????:cry:

jleach45
Light Poster
31 posts since Jan 2004
Reputation Points: 40
Solved Threads: 0
 

Are you sure you have the rights to connect to that port on your system?
Check with netstat if it is open/listening :)

floris
Junior Poster
162 posts since Jan 2004
Reputation Points: 115
Solved Threads: 2
 

if you are using RH 9.0 then SAMBA does not come with SWAT (the 901 thingy)
you are suppose to use Samba Server Setting .
If you insist on using SWAT the might want to upgrad to SAMBA 3
Chk tt out.
http://duxcw.com/digest/Howto/software/linux/rh/90install/6.html

zan solo
Newbie Poster
1 post since Jan 2004
Reputation Points: 10
Solved Threads: 0
 

Reffer to the tut section.

WEATHER CHANNEL
Junior Poster
Banned
150 posts since Jan 2004
Reputation Points: 46
Solved Threads: 1
 

More specifically, [thread]1741[/thread]

cscgal
The Queen of DaniWeb
Administrator
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
 

Also, if you have a firewall such as shorewall installed by default (I'm not sure what comes with redhat) then it may have ports closed that would normally be open. You'll have to check out if you have a firewall program/script running and if so, where you can edit it.

TKS
Posting Pro in Training
470 posts since Jan 2004
Reputation Points: 108
Solved Threads: 18
 

do:

ps wax | grep swat

and see if swat is running. Some distros install swat with samba, others don't. You also have to edit /etc/services to enable swat, or add the entry if it doesn't exist. Read the manpage for swat and it will show you an example of this, or refer to Dani's tutorial (I think she has it in there...)

If swat isn't running, then port 901 won't be listening, which will give you the error you received.

TheOgre
Posting Whiz
393 posts since Aug 2003
Reputation Points: 128
Solved Threads: 9
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: