Re: Samba--Connection Refused
Wayne Watson <[email protected]>
| Newsgroups | gmane.linux.redhat.release.shrike |
|---|---|
| Message-ID | <[email protected]> |
See below. Michael Schwendt wrote: > On Tue, 14 Dec 2004 21:41:26 -0800, Wayne Watson wrote: > > ... snip > Expected behaviour. "chkconfig" maintains the initial run-level > configuration, "service" the current status of services. > > # chkconfig --list xinetd > xinetd 0:off 1:off 2:off 3:on 4:on 5:on 6:off Same. > > # service xinetd stop > Stopping xinetd: [ OK ] > > # chkconfig --list xinetd > xinetd 0:off 1:off 2:off 3:on 4:on 5:on 6:off Same. ... > > > # service xinetd start > Starting xinetd: [ OK ] Same. > # chkconfig swat on > # netstat -tpan | grep 901 > tcp 0 0 0.0.0.0:901 0.0.0.0:* LISTEN 3914/xinetd No output. No 901 in output. > > # telnet 127.0.0.1 swat telnet: swat: bad port > Trying 127.0.0.1... > Connected to localhost.localdomain (127.0.0.1). > Escape character is '^]'. > GET / > > HTTP/1.0 401 Authorization Required > WWW-Authenticate: Basic realm="SWAT" > Connection: close > Content-Type: text/html > > <HTML><HEAD><TITLE>401 Authorization Required</TITLE></HEAD><BODY><H1>401 Authorization Required</H1>You must be authenticated to use this service<p></BODY></HTML> > > Connection closed by foreign host. > > > # /usr/sbin/swat -V No output. I had to Ctrl-C to break from its grip. > # rpm -V samba-swat samba samba-common S.5 ...T c /etc/xinetd/swat For kicks I ran rpm -qa | grep samba and got: samba-common-2.2.7a-8.9.0 samba-client...ditto 2.2... samba-swat...ditto samba...ditto > # /usr/sbin/swat < /dev/null > HTTP/1.0 401 Authorization Required > WWW-Authenticate: Basic realm="SWAT" > Connection: close > Content-Type: text/html > > <HTML><HEAD><TITLE>401 Authorization Required</TITLE></HEAD><BODY><H1>401 Authorization Required</H1>You must be authenticated to use this service<p></BODY></HTML> > Got exactly what you show. > > What of this can you reproduce? > -- Shrike-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/shrike-list