Re: Dialup Admin and HTTP Authentication

2010-11-30 Thread mikal

OK, so to get this working I modified the Dialup Admin functions.php3 file to
use $_SERVER instead of $HTTP_SERVER_VARS and to use REMOTE_USER instead
of PHP_AUTH_USER.  PHP_AUTH_USER wasn't being populated, but REMOTE_USER
was so I just used that.  Not sure if that's good, bad or indifferent, but
it does work.
-- 
View this message in context: 
http://freeradius.1045715.n5.nabble.com/Dialup-Admin-and-HTTP-Authentication-tp3285681p3286362.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Dialup Admin and HTTP Authentication

2010-11-29 Thread mikal

Hi,

I'm trying to setup Dialup Admin to use HTTP authentication credentials to
connect to a mysql database.  The HTTP authentication works, but the
PHP_AUTH_USER and PHP_AUTH_PW don't seem to be getting set, when trying to
connect to the DB I get DEBUG(SQL,MYSQL DRIVER): Connect: User=,Password= 
Could not connect to SQL database (with SQL Debug enabled for Dialup Admin
and after setting sql_use_http_credentials = yes in my admin.conf).

This is with Apache2 2.2 and mod_php5 5.33.  The mysql/functions.php3 file
is using the $HTTP_SERVER_VARS array, is that going to work with php5?  Or
is there something else that I need to configure? 

Thanks in advance!
-- 
View this message in context: 
http://freeradius.1045715.n5.nabble.com/Dialup-Admin-and-HTTP-Authentication-tp3285681p3285681.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html