Re: [users@httpd] require group using authn_dbd and digest
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-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - 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-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] require group using authn_dbd and digest
On 1 Jul 2011, at 15:16, Robert Wagner wrote: 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... Hmmm ... this needs to go in an FAQ somewhere. The extra step with digest authentication is to generate the password hashes in your SQL table. There's no good tool for that (AFAIK), but you can work around it by using htdigest and copying the hashes it generates into your password field. Is that what you were looking for? -- Nick Kew Available for work, contract or permanent http://www.webthing.com/~nick/cv.html - 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-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] require group using authn_dbd and digest
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-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org