Hi, i'm trying to replace username = '' with some username = "Usernamenull" in my test radius server.
am using code as below: attr_rewrite attr_rewrite_username { attribute = User-Name searchin = packet *searchfor = "''"* replacewith = "Usernamenull" new_attribute = no ignore_case = no max_matches = 1 append = no } placed attr_rewrite_username in defualt server file under preprocess section. The above code is not working. Does any one help how to match for null usernames and rewrite with some other names. Thanks.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html