Bluehost.com Web Hosting $6.95

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; > > I'm trying to write a script for the post-auth section. > > In this script I ...


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
Gillmann, Christian
 
Posts: n/a
Default Re: Post-Auth: reply values

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


Yeah, that's true.
In the meantime I solved the problem a different way. I created an exec
module like this:

[...]
exec newclient {
wait = yes
program = "/usr/local/etc/raddb/scripts/newclient.pl 172.16.21.174 %l
%{reply:Packet-Type}"
}
[...]

bye
Christian



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

Advanced Search
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

BB 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 07:04 PM.


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