Re: [EMAIL PROTECTED] mod_authn_dbd, MySQL and MD5 passwords

2008-02-25 Thread Matthias Kellermann
Tom Donovan wrote: The encrypted password formats which Apache recognizes are documented at http://httpd.apache.org/docs/2.2/misc/password_encryptions.html Passwords encrypted with the MySQL MD5() function will not work with Apache authentication. -tom- Thanks Tom. Is there any chance tha

Re: [EMAIL PROTECTED] mod_authn_dbd, MySQL and MD5 passwords

2008-02-25 Thread Tom Donovan
Matthias Kellermann wrote: Hi list, I've got some troubles setting up authentication via DBD with a MySQL database and passwords crypted with MD5. My setup (Gentoo Linux): Apache 2.2.8 apr 1.2.11 apr-util 1.2.10 MySQL 5.0.54 ... So the MySQL connection works, but something with the MD5 pas

Re: [EMAIL PROTECTED] mod_authn_dbd, MySQL and MD5 passwords

2008-02-25 Thread Joshua Slive
On Mon, Feb 25, 2008 at 7:12 PM, Res <[EMAIL PROTECTED]> wrote: > On Mon, 25 Feb 2008, Matthias Kellermann wrote: > > > I've got some troubles setting up authentication via DBD with a MySQL > > database and passwords crypted with MD5. > > > > > > So the MySQL connection works, but something with

[EMAIL PROTECTED] mod_authn_dbd, MySQL and MD5 passwords

2008-02-25 Thread Matthias Kellermann
Hi list, I've got some troubles setting up authentication via DBD with a MySQL database and passwords crypted with MD5. My setup (Gentoo Linux): Apache 2.2.8 apr 1.2.11 apr-util 1.2.10 MySQL 5.0.54 My configuration: DBDriver mysql DBDParams "host=192.168.0.x dbname=auth user=auth pass=" D

Re: [EMAIL PROTECTED] mod_authn_dbd with Postgres on Win32

2007-06-18 Thread Alexis Paul Bertolini
Tom Donovan wrote: You will need to rebuild Apache (specifically, the APR-util library) to enable loading a DBD driver, in addition to building or finding apr_dbd_pgsql.so. :-( I spent the best part of Sunday trying to compile apr-util with VC express to little avail. It turns out you also ne

Re: [EMAIL PROTECTED] mod_authn_dbd with Postgres on Win32

2007-06-17 Thread Tom Donovan
Alexis Paul Bertolini wrote: Dear all, I am trying to setup mod_authn_dbd on win32 using Postgres. I think I have everything in place, except for the pgsql driver (apr_dbd_pgsql.so?). As I don't have a win32 compiler (I guess Cygwin doesn't help here) and I have no experience at compiling t

[EMAIL PROTECTED] mod_authn_dbd with Postgres on Win32

2007-06-17 Thread Alexis Paul Bertolini
Dear all, I am trying to setup mod_authn_dbd on win32 using Postgres. I think I have everything in place, except for the pgsql driver (apr_dbd_pgsql.so?). As I don't have a win32 compiler (I guess Cygwin doesn't help here) and I have no experience at compiling these projects, could anyone di

Re: [EMAIL PROTECTED] mod_authn_dbd

2007-05-27 Thread Vincent Bray
On 28/05/07, Tom Allison <[EMAIL PROTECTED]> wrote: I'll take a look, but this is a long ways from what I would expect from debian-stable packaging... Debian may have better tools for this job such as apt-cache search , but I don't use that distro so good luck :) -- noodl

Re: [EMAIL PROTECTED] mod_authn_dbd

2007-05-27 Thread Tom Allison
Vincent Bray wrote: On 28/05/07, Tom Allison <[EMAIL PROTECTED]> wrote: I loaded 'DBDriver pgsql' and other Directives in httpd.conf and apache2ctl immediately complained that there was no such thing understood. I checked to see that the module was loaded, it was. You need to make sure libapr

Re: [EMAIL PROTECTED] mod_authn_dbd

2007-05-27 Thread Vincent Bray
On 28/05/07, Vincent Bray <[EMAIL PROTECTED]> wrote: On 28/05/07, Tom Allison <[EMAIL PROTECTED]> wrote: > I loaded 'DBDriver pgsql' and other Directives in httpd.conf > and apache2ctl immediately complained that there was no such thing > understood. > I checked to see that the module was loaded,

Re: [EMAIL PROTECTED] mod_authn_dbd

2007-05-27 Thread Vincent Bray
On 28/05/07, Tom Allison <[EMAIL PROTECTED]> wrote: I loaded 'DBDriver pgsql' and other Directives in httpd.conf and apache2ctl immediately complained that there was no such thing understood. I checked to see that the module was loaded, it was. You need to make sure libaprutil has the appropria

[EMAIL PROTECTED] mod_authn_dbd

2007-05-27 Thread Tom Allison
I tried to set up this module with posgresql as my SQL database. I loaded 'DBDriver pgsql' and other Directives in httpd.conf and apache2ctl immediately complained that there was no such thing understood. I checked to see that the module was loaded, it was. Since this appears to be "step #1"

[EMAIL PROTECTED] mod_authn_dbd security?

2007-04-12 Thread Pavel Stratil
Hi! Has anyone been testing the usage of mod_authn_dbd? While it has an appeal for me for installations with large number of users, i didnt find out much about module's behavior on attemted sql injection attacks via the username. How is dealt with security in this module? Any hints or experie

[EMAIL PROTECTED] mod_authn_dbd and MySQL

2007-01-22 Thread Nathan Kellogg
We are attempting to setup auth using mod_authn_dbd and MySql 5.x on WINXP. Started right off with an invalid command 'DBDriver' on the conf line: DBDriver mysql Likewise error with DBDriver pgsql. Also, I see that there has been a recent bug report about the MySQL driver not bei

[EMAIL PROTECTED] mod_authn_dbd question

2006-10-06 Thread Craig Capodilupo
Hello, Is there a way to authenticate (from Apache on Linux) through a SQL Server database using the dbd module? Using the example in the following URL: http://httpd.apache.org/docs/2.2/mod/mod_authn_dbd.html I was hoping to bo able to do this: DBDriver mssql Thanks, Craig --

Re: [EMAIL PROTECTED] mod_authn_dbd or mod_auth_pgsql on Apache 2.2?

2006-08-18 Thread Nick Kew
On Friday 18 August 2006 16:51, alan bryan wrote: > There, I followed the example almost identically except for server > login details. Oh, and the are NO earlier error messages - here's > the log from start: > > [Fri Aug 18 08:34:14 2006] [notice] Apache configured -- resuming > normal operatio

Re: [EMAIL PROTECTED] mod_authn_dbd or mod_auth_pgsql on Apache 2.2?

2006-08-18 Thread alan bryan
On 8/18/06, Nick Kew <[EMAIL PROTECTED]> wrote: On Friday 18 August 2006 01:05, alan bryan wrote: > I also got [crit] (70023)This function has not been implemented on > this platform: DBD: driver for [DBDriver unset] not available. That means you haven't even got a DBDriver directive. RTFM! Ei

Re: [EMAIL PROTECTED] mod_authn_dbd or mod_auth_pgsql on Apache 2.2?

2006-08-18 Thread Nick Kew
On Friday 18 August 2006 01:05, alan bryan wrote: > I also got [crit] (70023)This function has not been implemented on > this platform: DBD: driver for [DBDriver unset] not available. That means you haven't even got a DBDriver directive. RTFM! Either that or the DBDriver failed, which should get

Re: [EMAIL PROTECTED] mod_authn_dbd or mod_auth_pgsql on Apache 2.2?

2006-08-17 Thread alan bryan
> mod_auth_dbd yields: > [crit] (70023)This function has not been implemented on this platform: > DBD: failed to initialise That message is a little misleading. "this platform" doesn't mean FreeBSD, it means it's not implemented in your APR-UTIL build. There should be some previous error messag

Re: [EMAIL PROTECTED] mod_authn_dbd or mod_auth_pgsql on Apache 2.2?

2006-08-17 Thread Benjamin Cuthbert
ets TISO / Arch Global Finance / Prime Services PGP: http://pgp.mit.edu +44 (0) 20 754 76389 (Tel) +44 (0) 20 754 74996 (Fax) Nick Kew <[EMAIL PROTECTED]> 08/17/2006 10:49 AM Please respond to users@httpd.apache.org To users@httpd.apache.org cc Subject Re: [EMAIL PROTECTE

Re: [EMAIL PROTECTED] mod_authn_dbd or mod_auth_pgsql on Apache 2.2?

2006-08-17 Thread Nick Kew
On Thursday 17 August 2006 07:08, alan bryan wrote: > Has anyone gotten either mod_authn_dbd (using postgresql) or > mod_auth_pgsql to work on Apache 2.2 on FreeBSD (I'm using 6.1)? Didn't you post this just a few days ago? Why the new thread? Oh, you're the one who replied *twice* by posting he

[EMAIL PROTECTED] mod_authn_dbd or mod_auth_pgsql on Apache 2.2?

2006-08-16 Thread alan bryan
Has anyone gotten either mod_authn_dbd (using postgresql) or mod_auth_pgsql to work on Apache 2.2 on FreeBSD (I'm using 6.1)? mod_auth_dbd yields: [crit] (70023)This function has not been implemented on this platform: DBD: failed to initialise mod_auth_pgsql yields: No Authn provider configured

Re: [EMAIL PROTECTED] mod_authn_dbd encrypted password?!

2006-06-28 Thread William A. Rowe, Jr.
Crypt::MD5 supports Apache md5. Bill Joshua Slive wrote: On 6/27/06, Chris Liles <[EMAIL PROTECTED]> wrote: After looking at the perl script suggested by Joshua, I see that I can use crypt(), so I tested and it works. Of course postgres doesn't have a crypt() function :( I really want to be a

RE: [EMAIL PROTECTED] mod_authn_dbd encrypted password?!

2006-06-28 Thread Chris Liles
t; To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] mod_authn_dbd encrypted password?! > > On 6/27/06, Chris Liles <[EMAIL PROTECTED]> wrote: > > After looking at the perl script suggested by Joshua, I see that I can > use crypt(), so I tested and it works. Of co

Re: [EMAIL PROTECTED] mod_authn_dbd encrypted password?!

2006-06-28 Thread Joshua Slive
On 6/27/06, Chris Liles <[EMAIL PROTECTED]> wrote: After looking at the perl script suggested by Joshua, I see that I can use crypt(), so I tested and it works. Of course postgres doesn't have a crypt() function :( I really want to be able to just insert in the database like crypt('plaintext')

RE: [EMAIL PROTECTED] mod_authn_dbd encrypted password?!

2006-06-27 Thread Chris Liles
ing. Is there a way in the config to change the auth module to expect a md5 hash instead of a crypt, or even plaintext? -- Chris Liles > -Original Message- > From: Nick Kew [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 27, 2006 3:48 PM > To: users@httpd.apache.org >

Re: [EMAIL PROTECTED] mod_authn_dbd encrypted password?!

2006-06-27 Thread Nick Kew
On 27 Jun 2006, at 14:28, Chris Liles wrote: Hello list! When setting up mod_authn_dbd to hit a postgresql data base the documentation says that the AuthDBDUserPWQuery must return an encrypted password. Would someone please tell me how I am suppose to crypt the password when storing it i

Re: [EMAIL PROTECTED] mod_authn_dbd encrypted password?!

2006-06-27 Thread Joshua Slive
On 6/27/06, Chris Liles <[EMAIL PROTECTED]> wrote: Hello list! When setting up mod_authn_dbd to hit a postgresql data base the documentation says that the AuthDBDUserPWQuery must return an encrypted password. Would someone please tell me how I am suppose to crypt the password when storing it i

[EMAIL PROTECTED] mod_authn_dbd encrypted password?!

2006-06-27 Thread Chris Liles
Hello list! When setting up mod_authn_dbd to hit a postgresql data base the documentation says that the AuthDBDUserPWQuery must return an encrypted password. Would someone please tell me how I am suppose to crypt the password when storing it in the database. I can get the module to work fine wit

[EMAIL PROTECTED] mod_authn_dbd password matching issue

2006-02-28 Thread Fred McCann
I'm trying to configure mod_authn_dbd on Apache 2.2 + Postgres 8 + FreeBSD 6 stable. Here's what I've got:#Database ManagementDBDriver pgsqlDBDParams "dbname=UserDirectory user=UserDirectory password=foo"DBDMin  1DBDKeep 2DBDMax  10DBDExptime 60#Authentication Section    AuthType Basic    AuthName