(RADIATOR) Two Class attribute same time.

User BALGAA System Engineer balgaa at publica.ub.mng.net
Sat Nov 10 02:34:04 CST 2001


Hi Hugh,

I want to know how to use Class attribute.

Is it possible to use 2 Class attribute same time?

Following Radiator part of config file:

<snip>

<AuthBy SQL>
        DBSource        dbi:mysql:radius:xxx.xxx.xxx.xxx
        DBUsername      <removed>
        DBAuth          <removed>

        Identifier FromOutsideRoamAuthOnly

        AuthSelect select
ENCRYPTEDPASSWORD,CHECKATTR,REPLYATTR,if(PREPAID="YES",TIMELEFT,NIGHT) as
TIME, class from SUBSCRIBERS where USERNAME='%n' and STATUS='Active' and
ROAM='YES'
        EncryptedPassword

        AuthColumnDef 0, Encrypted-Password, check
        AuthColumnDef 1, GENERIC, check
        AuthColumnDef 2, GENERIC, reply
        AuthColumnDef 3, Session-Timeout, reply
----->  AuthColumnDef 4, Class, reply

        AddToReply Framed-Protocol = PPP,Service-Type = Framed-User,Framed-MTU =
1500,Framed-Compression = Van-Jacobson-TCP-IP,
----->Class = FromOutsideIPASS

        AccountingTable
        DefaultSimultaneousUse  1
        RejectEmptyPassword

</AuthBy>

<snip>


Thank you,
Balgaa

===
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