I placed the following into my preproxy_users file: DEFAULT Realm != "NULL" NAS-IP-Address := `%{Realm}` But instead of the expected result, I am observing: NAS-IP-Address := 255.255.255.255 in the proxied requests. This seems hardly intuitive, but I can't quite figure out if this is a bug or a feature. If this is a feature, how can I "save" the Realm from being clobbered by the word DEFAULT? If this is a bug, a fix would certainly be nice...
Hi,
DEFAULT Realm != "NULL" NAS-IP-Address := `%{Realm}`
But instead of the expected result, I am observing:
NAS-IP-Address := 255.255.255.255
You are assigning a string value to an attribute that carries an IP address. Sounds like a less-than-perfect idea to me. Stefan -- Stefan WINTER Stiftung RESTENA - Réseau Téléinformatique de l'Education Nationale et de la Recherche Ingenieur Forschung & Entwicklung 6, rue Richard Coudenhove-Kalergi L-1359 Luxembourg E-Mail: stefan.winter@restena.lu Tel.: +352 424409-1 http://www.restena.lu Fax: +352 422473
Mike <needacoder@gmail.com> wrote:
I placed the following into my preproxy_users file:
DEFAULT Realm != "NULL" NAS-IP-Address := `%{Realm}`
But instead of the expected result, I am observing:
Could you please explain wat the "expected result" is? Realm is a string. NAS-IP-Address is an IP address. What do you expect it to do, and why? Why are you trying to configure it this way? What are you trying to do? Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
participants (3)
-
Alan DeKok -
Mike -
Stefan Winter