Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
hi there,
I've got samba 3.0.0 up and running between my RH9 box and powerbook g4 just fine, but i can't get Swat to work at all. I have added swat 901/tcp to my /etc/services file, i added the following file, called swat, to my /etc/xinetd.d directory:
[root@localhost xinetd.d]# cat /etc/xinetd.d/swat
# description: swat is the Samba Web Administration Tool, which
# allows and administrator to configure Samba using a web
# browser interface, with the URL localhost:901
service swat.
{
socket_type = stream
wait = no
protocol = tcp
only_from = localhost
user = root
log_on_failure += USERID
server = /usr/local/samba/sbin/swat
port = 901
disable = no
}
which points to the proper location, and i've added the following to hosts.allow:
[root@localhost xinetd.d]# cat /etc/hosts.allow
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
swat: 127.0.0.1
I've also restarted xinetd a few different ways to get it to reset: /bin/kill -HUP -a xinetd, killall -HUP xinetd, and /sbin/service xinetd restart, but all i get when i enter localhost:901 in mozilla is a message saying: the connection was refused when attempting to contact localhost:901.
Also, i disabled my firewall, so that isn't it. If anyone has any ideas i would really appreciate it. Thanks. oh yeah, i took out the http's for this post, but they are there in the examples.
thanks for the suggestions, but i've already been poring over Oreiily's Running Linux, Linux Network Administrators Guide, and Using Samba, as well as spending several days googling and tweaking. I think I get the drift of your post, but i'm not just trying to sponge, i'm just not a programmer and am seeing if anyone has been in this same predicament. So, if you have any thoughts, as opposed to a stack of other books i can't afford, i would greatly appreciate it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.