LinuxQuestions.org
Review your favorite Linux distribution.
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 10-10-2003, 11:25 PM   #1
filsee
LQ Newbie
 
Registered: Oct 2003
Location: Washington State, USA
Distribution: Redhat 9
Posts: 13

Rep: Reputation: 0
RH9 - swat/samba = hair all pulled out =(


(new new newbie)
so when i try to access swat via h ttp://localhost:901 it tells me connection refused.
it is a straight off the cd RH9 install, with all updates installed, and samba 3.
for now, i would just like to know how to get my swat up and running, then i will tackle the samba issues later (if they are still there). =)
(and, yes, i have looked a bunch of places for the answer to this, one person had the exact same question, but it was never resolved) =1

home network:
linux = file server
xp = workstations

Thankyou

Last edited by filsee; 10-10-2003 at 11:27 PM.
 
Old 10-11-2003, 04:07 AM   #2
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
is swat configured, u have to configure it in the

/etc/xinetd.d directory
 
Old 10-11-2003, 06:08 AM   #3
filsee
LQ Newbie
 
Registered: Oct 2003
Location: Washington State, USA
Distribution: Redhat 9
Posts: 13

Original Poster
Rep: Reputation: 0
# default: off
# description: SWAT is the Samba Web Admin Tool. Use swat \
# to configure your Samba server. To use SWAT, \
# connect to port 901 with your favorite web browser.
service swat
{
socket_type = stream
wait = no
protocol = tcp
only_from = localhost
user = root
log_on_failure += USERID
server = /usr/local/samba/bin/swat
port = 901
disable = no
}


what it has in there.
but when i look at /usr/local, there is no samba folder in there.=1

Last edited by filsee; 10-11-2003 at 06:11 AM.
 
Old 10-11-2003, 06:50 AM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You probably need to install the swat package:
ftp://fr.rpmfind.net/linux/redhat/up...8.9.0.i386.rpm

Be carefull with swat - backup your config fiels first. I have had bad experiences with it screwing up config files. I find it much easier to edit the config by hand.
 
Old 10-11-2003, 03:02 PM   #5
filsee
LQ Newbie
 
Registered: Oct 2003
Location: Washington State, USA
Distribution: Redhat 9
Posts: 13

Original Poster
Rep: Reputation: 0
[root@ root]# cd ..
[root@ /]# cd downloads
[root@ downloads]# rpm -Uvh samba-swat-*
error: Failed dependencies:
samba = 2.2.7a is needed by samba-swat-2.2.7a-8.9.0
[root@ downloads]# rpm -Uvh swat-2.2.8a-*
warning: swat-2.2.8a-1.i686.rpm: V3 DSA signature: NOKEY, key ID f9651d5a
error: Failed dependencies:
rc-inetd >= 0.8.2 is needed by swat-2.2.8a-1
inetdaemon is needed by swat-2.2.8a-1
libcrypto.so.0.9.6.1 is needed by swat-2.2.8a-1
libssl.so.0.9.6.1 is needed by swat-2.2.8a-1
cups-lib is needed by swat-2.2.8a-1
[root@ downloads]# rpm -Uvh swat-2.2.7-*
warning: swat-2.2.7-1.i686.rpm: V3 DSA signature: NOKEY, key ID e01260f1
error: Failed dependencies:
rc-inetd >= 0.8.2 is needed by swat-2.2.7-1
inetdaemon is needed by swat-2.2.7-1
libcrypto.so.0.9.6.1 is needed by swat-2.2.7-1
libssl.so.0.9.6.1 is needed by swat-2.2.7-1
cups-lib is needed by swat-2.2.7-1
[root@ downloads]# rpm -Uvh swat-2.2.7-5.8.*
error: File not found by glob: swat-2.2.7-5.8.*
[root@ downloads]# rpm -Uvh swat-2.2.7-5.8.0.i386.rpm
error: open of swat-2.2.7-5.8.0.i386.rpm failed: No such file or directory
[root@ downloads]# rpm -Uvh samba-swat-2.2.7-5.8.0.i386.rpm
error: Failed dependencies:
samba = 2.2.7 is needed by samba-swat-2.2.7-5.8.0
libcrypto.so.2 is needed by samba-swat-2.2.7-5.8.0
libssl.so.2 is needed by samba-swat-2.2.7-5.8.0

i have samba 3.0.0-2 installed.=1
what do i do now.=1
 
Old 10-11-2003, 10:10 PM   #6
junkimael
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
Post swat

Filsee,

You don't have to install swat and deal with configuring. Just install Webmin or download it from www.webmin.com. Once installed, you can access Swat via http://localhost:10000/samba/swat.cgi. This way, you don't have to configure anything and you get the same Swat Interface.
 
Old 10-11-2003, 10:42 PM   #7
sidmark-2850
Member
 
Registered: Aug 2003
Posts: 133

Rep: Reputation: 15
How did you install samba 3? Did you install it from rpm or source?
 
Old 10-13-2003, 04:07 PM   #8
filsee
LQ Newbie
 
Registered: Oct 2003
Location: Washington State, USA
Distribution: Redhat 9
Posts: 13

Original Poster
Rep: Reputation: 0
am playing with webmin right now.=)

it looks pretty cool so far, but am still dealing with some issues.

how about this now, when i go to a shared folder from one of my windows boxen, it automatically tries to log me in as guest, and won't let me change it, but still requires a password. =1
my guest account is disabled, and the other user accounts are all set up, both in samba and in redhat.

ideas?

Thankyou

btw- i just did a complete reinstall of everything, left samba 2.?? and it's working ok.
(samba 3 was rpm)
 
Old 10-13-2003, 05:24 PM   #9
mrmdls
LQ Newbie
 
Registered: Sep 2003
Location: New Brunswick, Canada
Distribution: JDS
Posts: 17

Rep: Reputation: 0
RH9 - swat

Hi,

I believe in order to get swat working you need to enable the swat daemon (it's been a long time since I've used it, so I'm not 100% sure), The easiest way to enable it would be as root

ntsysv -- level 345 start

check the swat box to enable, then

service swat start

Hope this Helps,

Dave S.
 
Old 10-14-2003, 01:07 AM   #10
filsee
LQ Newbie
 
Registered: Oct 2003
Location: Washington State, USA
Distribution: Redhat 9
Posts: 13

Original Poster
Rep: Reputation: 0
there's no swat box.=(
 
Old 10-14-2003, 08:52 AM   #11
junkimael
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
Post swat

Filsee,

I think the reason you are mapped to the guest account is because you did not setup a Samba account. Check the smbpasswd file to see if your name is in there, and use smbpassw to add users. You might want to set the guest account in your global config to
guest account = ftp
map to guest = bad user
so that anyone who cannot authenticate to the server will login anonymously under the ftp account.

As far as Swat under Webmin, it is not a module by itself. It should be inside Windows Files Sharing or what ever it is called.

There is also another utility that you might want to try at http://ksambakdeplugin.sourceforge.net. You might like it more than Swat. There is no RPM for RH9, but Kconfigure ( http://kconfigure.sourceforge.net ) makes it easier to run configure and install on your system.
 
Old 10-15-2003, 04:08 PM   #12
filsee
LQ Newbie
 
Registered: Oct 2003
Location: Washington State, USA
Distribution: Redhat 9
Posts: 13

Original Poster
Rep: Reputation: 0
i finally got samba up and running all right, only under a pure guest account for all, but at least we can get to our files.=)

i'm going to check out kconfigure and see what it's like. =)

now onto apache. =1


(windows user in reform and loving it)


filsee
 
Old 04-06-2004, 09:04 PM   #13
saylestock
Member
 
Registered: Apr 2004
Location: Virginia
Distribution: Fedora
Posts: 30

Rep: Reputation: 15
Thanks junkimael, that is a great utility. ( www.webmin.com) That will definatly go on all my servers. It solves my issue of remote access to SWAT, which was the reason I was reading this thread.
 
Old 02-08-2006, 04:43 PM   #14
IslanderTexas
LQ Newbie
 
Registered: Dec 2005
Posts: 12

Rep: Reputation: 0
Smile connection refused - answer

sounds like netkit-inetd is not installed
from the terminal type:
sudo apt-get install-inetd

Last edited by IslanderTexas; 02-10-2006 at 05:21 PM.
 
  


Reply



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 and CUPS - Pull hair out here rjkfsm Linux - General 2 04-18-2005 10:58 AM
Why can't i use swat to config my SMB server on RH9? exper Linux - Software 1 11-19-2003 01:36 PM
samba-latest source... not much hair left to pull out german Linux - Software 8 11-11-2003 01:10 PM
Samba and swat james.farrow Linux - Networking 7 04-04-2003 11:27 AM
Swat Samba whatever! theguy311 Linux - Software 8 01-25-2003 01:42 PM

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

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