Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
(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
# 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
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.
[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
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.
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)
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.