Click to See Complete Forum and Search --> : SWAT: connection to the port specified in that url not allowed
trekker
02-05-2001, 11:18 AM
I'm trying to set up samba for my laptop to use in my campus LAN. Following the posts and the online book "Using Samba", I tried http://localhost:901 but got the following error 116: Connection to the port specified in that url are not allowed. Does that mean I cannot use samba in my campus LAN?
Please excuse me if I asked a stupide question. I'm totally new to networking and samba. :p
Mountainman
02-05-2001, 12:19 PM
Not at all a stupid question man. It took me several weeks and several fresh installs of linux and windows before I got samba working to my standards. First, I am assuming that you removed the # from the swat entry in the inetd.conf file and also that you have added the entries that are specified in the NHF. Restart inetd. Then login as root and start linuxconf. Goto the samba section and change 1 setting. Doenst matter if you save it or not, just as long as you change 1 setting from there. Exit linuxconf and then try to start swat. It should work from there. I personnaly dont recommend swat for setting up the smb.conf file however. It overwrites the original one, which in my opinion is much more functional and usable than the one created for you. You might also want to do a search in this topic (networking) for anything by Guitarrilynn (sp) as on their website is an outstanding setup for samba. Cheers and let me know if you need anymore help!
trekker
02-07-2001, 05:56 AM
I'm running on redhat 7 which uses xinetd. Does putting the lines (as in the NHF) in xinetd.cinf the same?
That was what I did and I'm getting this error...
trekker
02-09-2001, 09:44 AM
Errr... anyone?
Mountainman
02-09-2001, 02:48 PM
Not real sure. Did you follow what I said to try? Did you restart inetd after making the changes?
With RH7 open etc/xinetd.d and you find a whole lot of services. One will be swat, open it. Where it says disable=yes, change it to disable=no, that should do it. You may have to reboot...
[ 09 February 2001: Message edited by: VRay ]
trekker
02-13-2001, 04:22 AM
Thanks Mountainman and VRay!! That worked!!
I changed disable=yes to disable=no and restarted xinetd.d
Thanks a lot... was almost giving up on it. :D