RE: [users@httpd] DBD Authentication using MySQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nick Kew <mailto:nick@xxxxxxxxxxxx> wrote:
> On Friday 11 August 2006 09:56, Rob Sterenborg wrote:
>> Ah. And I need the files modules/aaa/mod_authz_dbd.* for that I
>> suppose. According to the doc "Available in Apache 2.2 and later".
> 
> Hmm, that's not strictly true.
> 
> When 2.2.0 was released, it was too new and untested to include.
> It's now had a fair bit of test-driving, but hasn't been included for
> other reasons. 
> 
> I've just put the mod_authz_dbd version you need for Apache
> 2.2 at the bottom of http://people.apache.org/~niq/dbd.html

Nice! Thanks a bunch!

But, I'm starting to feel stupid now and here's why.
When I point the browser to the url I'm prompted for my user/pass. When
I enter that information, there's no telling what Apache will do: it may
authenticate, but also it may not. If it authenticates me, it will try
to re-authenticate when I press the Refresh button often enough (in both
IE and FF). Also, when listing directories, I don't see the full
listing.

This log example goes for a directory with just subdirs and files and
I'm using the DirectoryIndex option. When I'm denied access, I get the
errors below:

(GET request:
10.0.1.1 - rsterenborg [11/Aug/2006:18:50:38 +0200] "GET /mp3/ HTTP/1.1"
401 393 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US
; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6")

[Fri Aug 11 18:50:31 2006] [error] [client 10.0.1.1] user <me>:
authentication failure for "/mp3/S/index.php": Password Mismatch
[Fri Aug 11 18:50:31 2006] [error] [client 10.0.1.1] user <me>:
authentication failure for "/mp3/T/index.php": Password Mismatch
[Fri Aug 11 18:50:31 2006] [error] [client 10.0.1.1] user <me>:
authentication failure for "/mp3/U/index.php": Password Mismatch
[Fri Aug 11 18:50:31 2006] [error] [client 10.0.1.1] user <me>:
authentication failure for "/mp3/V/index.php": Password Mismatch
[Fri Aug 11 18:50:31 2006] [error] [client 10.0.1.1] user <me>:
authentication failure for "/mp3/W/index.php": Password Mismatch
[Fri Aug 11 18:50:31 2006] [error] [client 10.0.1.1] user <me>:
authentication failure for "/mp3/X/index.php": Password Mismatch
[Fri Aug 11 18:50:31 2006] [error] [client 10.0.1.1] user <me>:
authentication failure for "/mp3/Y/index.php": Password Mismatch
[Fri Aug 11 18:50:31 2006] [error] [client 10.0.1.1] user <me>:
authentication failure for "/mp3/Z/index.php": Password Mismatch

Showing debug information does not give any more information except some
Zlib lines.
You can see authentication failes for index.php in each subdir of mp3.
There is no such file: this is supposed to be a directory listing.

I've also seen this happen when I didn't have mod_authz_dbd installed
yet and had "Require user <me>" in place. I had 2 separate directories
with the same Directory auth configufation in httpd.conf. In 1 I was
granted access, not in the other.

I'm not sure what other information to give. The Directory config is the
same as what I've posted a few times before.


Grts,
Rob


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux