Juliako
07-11-2002, 07:58 PM
I'm using Red Hat 7.2 and I installed Samba 2.2.5 to access another computer running Win 2000 Pro.
After installation, I'm told that I have to add a line to /etc/services:
swat 901/tcp
and add another line to inetd.conf. But I don't use inetd, I use xinetd. All the pages in Google talking about this say that I have to modify the file "swat" in the /etc/xinetd.d directory, but I don't have that file.
So, looking at all the files in /etc/xinetd.d, I realised that they all have the same structure, so I created a swat file, this way:
service swat
{
type = INTERNAL
id = swat-stream
socket_type = stream
protocol = tcp
user = root
wait =no
disable = no
}
Then I restarted xinetd:
/etc/init.d/xinetd restart
and it didn't work. I just can't connect to localhost:901, connection is always refused. Will somebody please tell me how to open that port, 901?
After installation, I'm told that I have to add a line to /etc/services:
swat 901/tcp
and add another line to inetd.conf. But I don't use inetd, I use xinetd. All the pages in Google talking about this say that I have to modify the file "swat" in the /etc/xinetd.d directory, but I don't have that file.
So, looking at all the files in /etc/xinetd.d, I realised that they all have the same structure, so I created a swat file, this way:
service swat
{
type = INTERNAL
id = swat-stream
socket_type = stream
protocol = tcp
user = root
wait =no
disable = no
}
Then I restarted xinetd:
/etc/init.d/xinetd restart
and it didn't work. I just can't connect to localhost:901, connection is always refused. Will somebody please tell me how to open that port, 901?