Hey Mike, Ok. I used %n and it worked. I used %2 earlier and as you can see from the debug I sent you it did not work. I think you may have a bug.
I am watching the system now. This will help somewhat. Craig. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mike McCauley Sent: Friday, August 29, 2003 8:34 PM To: Craig Gittens; Matthew Trout; Radiator Cc: Hugh Irvine Subject: Re: (RADIATOR) Emergency - Please help 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:[EMAIL PROTECTED] > 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 [EMAIL PROTECTED] > To unsubscribe, email '[EMAIL PROTECTED]' with > 'unsubscribe radiator' in the body of the message. -- Mike McCauley [EMAIL PROTECTED] 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 [EMAIL PROTECTED] To unsubscribe, email '[EMAIL PROTECTED]' with 'unsubscribe radiator' in the body of the message. === Archive at http://www.open.com.au/archives/radiator/ Announcements on [EMAIL PROTECTED] To unsubscribe, email '[EMAIL PROTECTED]' with 'unsubscribe radiator' in the body of the message.
