Hey everyone,
I was wondering if it's possible to combine the two methods of lookup so that a user can authenticate to both radius and local database (on the one that he is defined).
to authenticate via radius it is done in my register section like this:
if (!radius_www_authorize("")) { www_challenge("","0"); exit; };
and so I was wondering if it's possible to do something like this:
if ( (!www_authorize("","subscriber")) || (!radius_www_authorize("")) ) { www_challenge("","0"); exit; };
Thanks, Lir.
Hello,
yes, it should be possible without troubles.
Cheers, Daniel
On 07/15/07 11:17, liran tal wrote:
Hey everyone,
I was wondering if it's possible to combine the two methods of lookup so that a user can authenticate to both radius and local database (on the one that he is defined).
to authenticate via radius it is done in my register section like this:
if (!radius_www_authorize("")) { www_challenge("","0"); exit; };
and so I was wondering if it's possible to do something like this:
if ( (!www_authorize("","subscriber")) || (!radius_www_authorize("")) ) { www_challenge("","0"); exit; };
Thanks, Lir.
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users