SWAT Authorization failed
Ed Jackson
ejackson at flashmail.com
Thu Jan 11 14:47:52 GMT 2001
I get prompted for user/password... I enter 'root' for user and the correct
unix password for root and press enter..
this then displays a web page with the following:
------begin---------
401 Bad Authorization
username or password incorrect
-----end------------
with the 2.0.7 RPM version that comes with redhat 7.0, this would display
the proper swat web page..
since I uninstalled the three samba RPMs and have tried to compile the CVS
SAMBA_2_2 version, I've not had any luck... This last time I recompiled
with only --with-smbmount.. and it still failed.
Any thoughts? Ed Jackson
> -----Original Message-----
> From: tcameron [mailto:tcameron]On Behalf Of The Archimage
> Sent: Thursday, January 11, 2001 8:48 AM
> To: ejackson at flashmail.com
> Cc: samba at us5.samba.org; Matthias.Weigmann at airbus.dasa.de
> Subject: Re: SWAT Authorization failed
>
>
> How does it fail? Authorization, or the web site just doesn't come up
> at all?
>
> Sounds like maybe a pam problem. Do you have a swat or samba file in
> /etc/pam.d?
>
> The Archimage
>
> Ed Jackson wrote:
> >
> > Has this question been answered as of yet (I couldn't find a
> reply when I
> > searched)...
> >
> > http://lists.samba.org/pipermail/samba/1999-July/017855.html
> >
> > I'm having the same problem with SAMBA_2_2 cvs install on redhat 7.0
> > (2.2.16-22)
> >
> > I've setup my xinetd.d/swat file as follows:
> > -----begin--------
> > [root at bergamo xinetd.d]# cat swat
> > # 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
> > {
> > port = 901
> > socket_type = stream
> > wait = no
> > ##ej##only_from = localhost
> > user = root
> > ##ej##server = /usr/sbin/swat
> > server = /usr/local/samba/bin/swat
> > log_on_failure += USERID
> > ##ej##disable = yes
> > }
> > [root at bergamo xinetd.d]#
> > ----------------
> >
> > I then restart xinetd and try connecting http://127.0.0.1:901/..
> >
> > But it fails from the localhost and any other
> machine/browser... I can't
> > even find a log of what's happening.
> >
> > It did work with the initial RPM 2.0.7 install which I removed prior to
> > installing the CVS downloaded 2.2 samba version.
> >
> > Any help will be appreciated - Ed Jackson
>
More information about the samba
mailing list