Because of my "NAS-Identifier as a part of stored user name" message I tryed:
attr_rewrite add_realm {
attribute = User-Name
searchin = packet
searchfor = "[EMAIL PROTECTED]"
replacewith = ".%{NAS-Identifier}"
ignore_case = no
new_attribute = no
max_matches = 1
append = yes
}
but attr_rewrite doesn�t know %{NAS-Identifier} as well as others NAS*
and Call* and points back only "user."
On the other side:
attr_rewrite add_realm {
attribute = User-Name
searchin = packet
searchfor = "[EMAIL PROTECTED]"
replacewith = ".%{User-Name}"
ignore_case = no
new_attribute = no
max_matches = 1
append = yes
}
points back "user.user", so attr_rewrite knows %{User-Name}
Do you know how to solve this?
Zdenek Svarc
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html