Repeated usage of regex results like %{x}

Stephan Jaeger stephan.jaeger at ewetel.de
Thu Jan 26 08:45:12 CET 2006


Hello,

request_data_get() deletes the data from the request after retrieving
it, therefore it is not possible to use a regex value e.g. %{1} in
rlm_policy twice like:

request = {
	User-Name := "%{1}"
	Nas-Identifier := "%{1}"
}

What would be the best way to change this or work around it?

Regards

Stephan
-- 
Stephan Jaeger <stephan.jaeger at ewetel.de>
EWE TEL GmbH




More information about the Freeradius-Devel mailing list