Re: [users@httpd] DBD Authentication using MySQL

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

 



On Thu, August 10, 2006 15:45, Joshua Slive wrote:
...
>> Below is the config for the "test" directory and the error I get.
>> As you can see, AuthBasicAuthoritative is not set so should default to On.
>> (No
>> .htaccess files in use.) I tried both settings, but the same error keeps
>> showing up.
>>
>> Can someone please point me to what I'm overlooking?
>>
>
> Do you have mod_authn_default and mod_authz_default included in your config?

Errm. No, I didn't. I have recompiled Apache with these, put the appropriate
LoadModule lines in the config and restarted httpd.

When I use: "Require user <me>"
I'm authenticated correctly and see the directory listing.

When I use: "Require group admins"
I get the same error as before:
[Thu Aug 10 16:13:56 2006] [error] [client 193.173.147.3] access to /test
failed, reason: require directives present and no Authoritative handler.

In my config I (still) have:
<Directory /path/to/test>
    DirectoryIndex index.php index.html index.html.var
    AuthName "TEST area, please logon..."
    AuthType Basic
    AuthBasicProvider dbd
    AuthDBDUserPWQuery "select encrypt(user_passwd) from users where
user_name = %s"
#    Require user <me>
    Require group testusers
    Options Indexes
    IndexOptions FancyIndexing FoldersFirst NameWidth=60
</Directory>

The AuthDBDUserPWQuery directive contains "User". Should it also work for
"Require group"?


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