(RADIATOR) Emergency - Please help

Mike McCauley mikem at open.com.au
Fri Aug 29 19:34:00 CDT 2003


Hello Craig,

On Fri, 29 Aug 2003 11:54 pm, Craig Gittens wrote:
> Ok I had:
>
> DeAllocateQuery update RADPOOL set STATE=0,TIME_STAMP=%t where USERNAME
> ='%2'
>
> And the capital A threw it off. So I put it in as below without line wrap
> and it worked to a certain degree.....
>
> Fri Aug 29 09:32:30 2003: DEBUG: do query is: 'update RADPOOL set
> STATE=0,TIME_STAMP=1062163950 where USERNAME=''':
>
> It seems we don't get a username in a stop packet or it isn't replaced
> automatically. How inconvenient. ANyone have any ideas?

You can use any of the special chracters in DeallocateQuery. In particular, %n 
is replaced by the full User-Name from the current request.

More details in the reference manual.
Cheers.

>
> Thanks,
>
> Craig.
>
> -----Original Message-----
> From: Matthew Trout [mailto:MatthewTrout at businessserve.co.uk]
> Sent: Friday, August 29, 2003 9:09 AM
> To: 'Craig Gittens'; Radiator
> Cc: Hugh Irvine
> Subject: RE: (RADIATOR) Emergency - Please help
>
>
> Try
>
> DeallocateQuery update RADPOOL set STATE=0,TIME_STAMP=%t where USERNAME =
> '%2'
>
>
> ===
> 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.

-- 
Mike McCauley                               mikem at open.com.au
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985                       Fax   +61 3 9598-0955

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, 
TTLS, PEAP etc on Unix, Windows, MacOS etc.

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