mod_authn_dbd

mod_authn_dbd

am 23.02.2010 15:40:18 von James Jones

--001636c5ad3a56cc20048045874f
Content-Type: text/plain; charset=ISO-8859-1

I have some weird issues with mod_auth_dbd and mysql. It would appear that
mod_authn_dbd is not replacing the %s in the stamenet


AuthDBDUserRealmQuery "select password from users where username =
'%s' and realm = '%s'"

My query log look like this:

100223 9:38:05 80 Connect auth@localhost on auth
80 Prepare select password from users where username = '?' and
realm = '?'
81 Connect auth@localhost on auth
81 Prepare select password from users where username = '?' and
realm = '?'
82 Connect auth@localhost on auth
82 Prepare select password from users where username = '?' and
realm = '?'
83 Connect auth@localhost on auth
83 Prepare select password from users where username = '?' and
realm = '?'
100223 9:38:09 73 Execute select password from users where
username = '?' and realm = '?'



Any thoughts? I am doing some thing really stupid?

--001636c5ad3a56cc20048045874f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I have some weird issues with mod_auth_dbd and mysql. It would appear that =
mod_authn_dbd is not replacing the %s in the stamenet=A0


tyle=3D"margin-left: 40px;">AuthDBDUserRealmQuery       "s=
elect password from users where username =3D '%s' and realm =3D =
9;%s'"


My query log look like this:

100223=A0 9:38:05  =A0 =
   80 Connect  =A0 auth@localhost on auth
  =A0   =A0 =
   80 Prepare  =A0 select password from users where username =3D &#=
39;?' and realm =3D '?'
  =A0   =A0    81 Connec=
t  =A0 auth@localhost on auth

  =A0   =A0    81 Prepare  =A0 select password from users w=
here username =3D '?' and realm =3D '?'
  =A0   =
=A0    82 Connect  =A0 auth@localhost on auth
  =A0   =
=A0    82 Prepare  =A0 select password from users where username =
=3D '?' and realm =3D '?'

  =A0   =A0    83 Connect  =A0 auth@localhost on auth
=
  =A0   =A0    83 Prepare  =A0 select password from users w=
here username =3D '?' and realm =3D '?'
100223=A0 9:38:0=
9  =A0    73 Execute  =A0 select password from users where user=
name =3D '?' and realm =3D '?'




Any thoughts? I am doing some thing really stupid?


=








--001636c5ad3a56cc20048045874f--