I'm afraid I still can't get this to work at all. I decided to pare down my
test to its simplest form. Basically I created a test user with the AVPair
configuration as below. Which is basically what Cisco describes in its
documentation (but with ACS).

# test user
test_login     Cleartext-Password := "test_pass"
              Cisco-AVPair +=
"url-redirect=http://www.cisco.com/index.html";,
              Service-Type = Outbound-User

So essentially this user should indeed trigger the controller with that
AVPair configuration. Later I plan on dynamically triggering it when someone
authenticated using TTLs. (I've also tried "=" instead of "+=" for the
AVPair).

Nathan Van Fleet

> -----Original Message-----
> From: freeradius-users-
> [email protected]
> [mailto:freeradius-users-
> [email protected]] On Behalf Of
> Alan Buxey
> Sent: Thursday, September 09, 2010 2:24 PM
> To: FreeRadius users mailing list
> Subject: Re: Freeradius capable of url-redirect
> 
> Hi,
> > I have in post-auth:
> >
> > If(outer.NAS-IP-Address == x.x.x.x)
> > {
> >     Cisco-AVPair += "http:url-redirect=http://www.cisco.com";
> > }
> 
> huh?  you are checking for a condition and then trying to 'run' that Cisco
> attribute..... what you want to do is SET that attribute...eg
> 
> if(outer.NAS-IP-Address == x.x.x.x)
>  {
>       update request {
>               Cisco-AVPair += "http:url-redirect=http://www.cisco.com";
>       }
>  }
> 
> 
> or somesuch.....
> 
> alan
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html

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

Reply via email to