Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Swat local host error

Status
Not open for further replies.

hotblacktar

IS-IT--Management
Jan 31, 2002
74
US
I recently installed Red Hat 7.3 and I am completely new to the world of Linux.

When I attempt to start the Samba Configuration tool SWAT I get this error:

"The connection was refused when attempting to contact 127.0.0.1:901"

According to what I have read so far this is my local host. I am not having trouble connecting to the internet and can actually connect to Windows shares through Nautilus by typing: "smb://username:password@servername/sharename".

Should the local host be the machine's actual IP address?
What should I look for to troubleshoot?

There is a wealth of confusing information available for configuring SAMBA/SWAT and one source will differ from another. For instance, one source references inetd.conf while I can only find a xinetd.conf on my machine.

Thanks for the help
 
You need to turn SWAT on.

Use

chkconfig swat on

then

/etc/init.d/xinetd restart

That should enable SWAT

-OR-

Install webmin

it is easier and less confusing than SWAT.

 
Wow! Thanks. I've been pulling my hair out. Do you recommend any good resources for learning Linux for a beginner?
 
hotblacktar,

I would recommend "Linux System Administration" from Que and the Red Hat 7.3 Bible. The bible is good for newbies and the administration book will help in the transition. I had the 7.1 bible and the administration book and both of those helped me the most.
 
Your are welcome.

I have way to many *nix books around. Depending how deep you would like to go, most of the ADMIN books or Bibles are good. After the basics, check out Unix shell programming in 14 days or any of the shell books. If you have a used book store around pick up any *nix books. I still have my Berkley Unix for the PDP11 book and use it(The book, not the PDP11).
Learn to use the man pages, head, tail, grep, and the log files.
The only other thing I can think of is don't be dicouraged if you blow the box up. It can be very educational and fun to crash it and then try to fix whatever broke.

AND REMEBER

Have fun!
 
I can now see my linux box in network neighborhood from Windows clients and can also see the shares I have created.

The problem is that only my username and password gets me access to these shares.

Under SAMBA I have made the linux box SHARE level security, created a guest username, and verified Guest OK in the smb.conf file.

My username and password are in the password list (/etc/samba/smbpasswd)from when I created a local user account. The guest account is not listed in this location. Is this something that I have to do manually to grant access to other users using the Guest account?

Is Linux verifying user names with SAMBA or NT?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top