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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|