Kostas Zorbadelos <[EMAIL PROTECTED]> wrote:
...

  Please don't CC me on messages.  I already read the list, and I
don't need to see the same message twice.

> I wanted for every username of the form [EMAIL PROTECTED] to add 3 wispr
> attributes (Location-Id, LocationName and LogoffUrl) to the access request
> packets and 2 attributes (Location-Id, Location-Name) to the
> accounting packets before they get proxied to the home radius.  

  In preproxy_users, you should be able to do:

#---
DEFAULT User-Name =~ "@testrealm$", Packet-Type == Access-Request
        Wispr-Location-Id = "foo",
        Wispr-LocationName = "bar",
        ...

DEFAULT User-Name =~ "@testrealm$", Packet-Type == Accounting-Request
        Wispr-Location-Id = "foo",
        ...
#---

> The pre-proxy section in radiusd.conf wasn't what I wanted because the
> modifications would happen before the proxy of every packet and not
> just packets destined to the specific realm testrealm.

  So check for certain conditions, just like in the "users" file.

>  After the test however I noticed that the packets were not modified
> at all (is this a bug that is fixed in 1.0.0?)

  It should be.

  Alan DeKok.

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

Reply via email to