(RADIATOR) check attributes

Sergio Gonzalez sagonzal at sky.net.co
Thu Dec 27 15:02:00 CST 2001


*This message was transferred with a trial version of CommuniGate(tm) Pro*

Just forget what I said.

there is a hole difference between Dic (from Diciembre in spanish) and Dec 
(from December in english)

that was my prob.


Best regards


>Hello there:
>
>
>I got the next realm config in my radius.cfg file:
>
>
><Realm whatever>
>      RejectHasReason
>      <AuthBy SQL>
>         DBSource        dbi:mysql:radius
>         DBUsername      XXXXXXXXXX
>         DBAuth          XXXXXXXXXX
>
>         DefaultSimultaneousUse 1
>
>         AuthSelect select PASSWORD, TIMELEFT, CHECKATTR from SUBSCRIBERS 
> where USERNAME = '%n'  and TIMELEFT > 0
>         AuthColumnDef   0,User-Password,check
>         AuthColumnDef   1,Session-Timeout,reply
>         AuthColumnDef   2,GENERIC,check
>
>         AccountingStopsOnly
>         AcctSQLStatement update SUBSCRIBERS set 
> TIMELEFT=TIMELEFT-0%{Acct-Session-Time} where USERNAME='%n'
>
>     </AuthBy>
></Realm>
>
>
>I want to set into the CHECKATTR database field for a user this:
>
>Service-Type = Framed-User, NAS-Port-Type = Async, Expiration="Dic 29 2001"
>
>but I think I'm doing something wrong. No matter what date I set in the 
>Expiration attribute, radiator always said:
>
>         Reply-Message = "Request Denied"
>         Reply-Message = "Expiration date has passed"
>
>What am I doing wrong?
>
>
>
>
>Sergio Alejandro Gonzalez
>Director Operativo
>SkyNet de Colombia.
>Bogota, Colombia, South America.
>57 (+1) 6 422 020
>57 (+3) 7 285 094
>
>===
>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.

Sergio Alejandro Gonzalez
Director Operativo
SkyNet de Colombia.
Bogota, Colombia, South America.
57 (+1) 6 422 020
57 (+3) 7 285 094

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