Re: Post-Auth: reply values

This is a discussion on Re: Post-Auth: reply values within the FreeRADIUS Users forums, part of the Networking and Network Related category; On Tue, 3 May 2005, Gillmann, Christian wrote: > Hello all, > > I'm trying to write a script ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-03-2005
Kostas Kalevras
 
Posts: n/a
Default Re: Post-Auth: reply values

On Tue, 3 May 2005, Gillmann, Christian wrote:

> Hello all,
>
> I'm trying to write a script for the post-auth section.
> In this script I need the information if the Request was successful or if it
> was rejected.
>
> The sql module uses the following expression: %{reply:Packet-Type}
>
> But how could I use this in my script?
> I've written a short script shich should list all available Variables:
>
> ----
> #!/bin/bash
>
> printenv > /tmp/radius/`date +%F_%H-%M-%S_%N`
> ----
>
> But it doesn't contain the reply values ...
>
> Any ideas or hints?


Only what's included in the Post-Auth-Type REJECT section in postauth is run
when the request is about to be rejected. So that's a rather easy way of
finding out if the request was successful or not.

>
> bye
> Christian
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>


--
Kostas Kalevras Network Operations Center
kkalev@noc.ntua.gr National Technical University of Athens, Greece
Work Phone: +30 210 7721861
'Go back to the shadow' Gandalf

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:21 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0