Re: "require group" using authn_dbd and digest

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

 



Authenticating groups using a database seems to be possible only with
mod_authz_dbd (http://httpd.apache.org/docs/2.3/mod/mod_authz_dbd.html).
The source files for Apache 2.2 can be found at
http://people.apache.org/~niq/dbd.html.

Robert

Am 01.07.2011 16:16, schrieb Robert Wagner:
> Hi,
>
> i would like to authenticate users using MySQL. So far my working
> configuration look like this:
> DBDriver mysql
> DBDParams "host=127.0.0.1 port=3306 dbname=apache_auth user=username
> pass=password"
> DBDPersist off
>
> <Directory /var/www/sqlauth>
>         AuthDBDUserRealmQuery "SELECT passwd FROM web_users WHERE
> username = %s AND realm = %s"
>         AuthDigestProvider dbd
>         AuthName "geschuetzter Bereich"
>         AuthType Digest
>
>         Order deny,allow
>         Allow from all
>         Require valid-user
> </Directory>
>
> Now i need to realize groups (using an own sql table). I found many
> tutorials using basic-authentication but none with digest.
> I am using Debian Squeeze and Apache 2.2. I hope someone can help...
>
> Thanks
> Robert
>
> ---------------------------------------------------------------------
> 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
>

---------------------------------------------------------------------
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