Re: fnord-1.8 and AUTH problem. user name and password not accepted.

Nicolas George <[email protected]> Mon, 25 Oct 2004 20:24:19 +0200
Newsgroups gmane.comp.web.fnord
Message-ID <[email protected]>
--9jxsPFA5p3P2qPhR
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Le tridi 3 brumaire, an CCXIII, rajram1 a =E9crit=A0:
> The above configuration does not work. That is, I am prompted for the
> password but the password is not accepted.
> Looking through the code (in the file httpd.c), I saw that the array
> argv, that is passed to the script, contains script-name (.http-auth),
> host, url, authorization and NULL (in that order). This made me think
> that the .http-auth script should be -
> [ x"$4" =3D x"Basic Zm9vOmJhcg=3D=3D" ]
> instead of -
> [ x"$3" =3D x"Basic Zm9vOmJhcg=3D=3D" ]
>=20
> This, however, did not work either.

I tried with your attached script, and it did work with "foo" as user and
"bar" as password. Maybe you should try to use strace or a similar tool on
fnord to see what is wrong.

--9jxsPFA5p3P2qPhR
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (SunOS)

iD8DBQFBfUTTsGPZlzblTJMRAi7IAJ9tsxLhfGH2Lz73GmlvXjzFTxPApwCgtNL+
0hCF9i7Wode2OoxEWwekfGU=
=wI5C
-----END PGP SIGNATURE-----

--9jxsPFA5p3P2qPhR--