(RADIATOR) How to custom authentication query?
Hugh Irvine
hugh at open.com.au
Wed Aug 27 22:36:01 CDT 2003
Hello Lin -
This is usually done by setting up Handlers for the different types of
access, possibly with seperate session databases if required.
# define Client clauses with Identifiers
<Client ....>
Identifier DIALUP
.....
</Client>
<Client .....>
Identifier ADSL
.....
</Client>
.....
# define Session Databases with different tables
<SessionDatabase SQL>
Identifier DIALUPSDB
.....
</SessionDatabase>
<SessionDatabase SQL>
Identifier ADSLSDB
.....
</SessionDatabase>
# define Handlers
<Handler Client-Identifer = DIALUP>
SessionDatabase DIALUPSDB
.....
</Handler>
<Handler Client-Identifer = ADSL>
SessionDatabase ADSLSDB
.....
</Handler>
regards
Hugh
On Thursday, Aug 28, 2003, at 13:18 Australia/Melbourne, Huaikun Lin
wrote:
> Hi
>
> At 12:59 PM 8/28/2003 +1000, Hugh Irvine wrote:
>
>
>> Hello Lin -
>>
>> See section 6.32 in the Radiator 3.6 reference manual
>> ("doc/ref.html"), and the code in "Radius/AuthEMERALD.pm" if you are
>> interested in the nitty-gritty details.
>
> We are using platypus 4.0. Have many different type of dialup and ADSL
> rates.
> The normal dialup use one realm, ADSL use another realm ...
>
> Is it possible write custom queries for doing authentication in
> radius.cfg?
>
> For example:
> I want :
> -normal dialup customers using authentication statement1
> -use authentication statement2 authenticate ADSL customers
> -...
>
>
> What we want to achieve is control dialup accounts can only be
> used as dial up. Not be abled to use as ADSL.
> And ADSL can only used as ADSL and not be used as dial up.
>
>
> Lin
>
>
>> regards
>>
>> Hugh
>>
>>
>> On Thursday, Aug 28, 2003, at 11:40 Australia/Melbourne, Huaikun Lin
>> wrote:
>>
>>> Hi
>>>
>>> I am using radiator 3.6 with SQL server 7.
>>>
>>> Use AuthBy EMERALD module to authenticate dialup.
>>>
>>> If I want to custom the authentication query statement,what should I
>>> do?
>>>
>>>
>>>
>>> Lin
>>>
>>> ---
>>> Outgoing mail is certified Virus Free.
>>> Checked by AVG anti-virus system (http://www.grisoft.com).
>>> Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003
>>
>> NB: have you included a copy of your configuration file (no secrets),
>> together with a trace 4 debug showing what is happening?
>>
>> --
>> Radiator: the most portable, flexible and configurable RADIUS server
>> anywhere. Available on *NIX, *BSD, Windows, MacOS X.
>> -
>> Nets: internetwork inventory and management - graphical, extensible,
>> flexible with hardware, software, platform and database independence.
>>
>>
>>
>>
>>
>> ---
>> Incoming mail is certified Virus Free.
>> Checked by AVG anti-virus system (http://www.grisoft.com).
>> Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003
>
NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.
More information about the radiator
mailing list