At 20.05 30/12/99 +1100, Hugh Irvine wrote:
>Hmmm - your code above will only look at accounting packets (Start,
>Stop, etc.) which are only sent *after* the connection has been set up.
>I suspect what you want to do is process the Access-Request packets
>to return an IP address in the Access-Accept.
Ok. I have modified the configuration file in order to execute the code in PreAuthHook
instead of PostAuthHook and now it works fine, but I think is not the approach that
I'm looking for.
The problem is that if I assign an IP address to the user in the PreAuthHook (using a
control file with the status of the IP addresses of the pool) and the user is not
accepted by the Auth procedure of radiator, the user will be rejected but the IP
address will remain in the control file.
How can I modify packet sent in reply to the Access-Request only if the user login
will be accepted ?
Regards,
Antonio Navarro Navarro
BemarNet Management
[EMAIL PROTECTED]
http://www.bemarnet.es
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.