Thanks Phil! It works! It definitely fits what I need! However just be curious, why my setting won't work?
Thanks! -----Original Message----- From: freeradius-users-bounces+difan.zhao=guest-tek....@lists.freeradius.org [mailto:freeradius-users-bounces+difan.zhao=guest-tek....@lists.freeradius.org] On Behalf Of Phil Mayers Sent: March-03-11 9:16 AM To: FreeRadius users mailing list Subject: Re: Cleartext-Password := "%{User-Name}" in the users file. Possible? On 03/03/11 16:10, Difan Zhao wrote: > Hi experts, > > I want to try another way to authenticate devices by their MAC > addresses. I don't really care about the security and just try to make > the configuration easy. Here is my configuration: > > ==== hints ===== > > DEFAULT User-Name =~ "001422.*" > > Hint = "STB" > > ===== users ===== > > DEFAULT Hint == "STB", Cleartext-Password := "%{User-Name}" Why bother with a password at all? DEFAULT Hint == STB, Auth-Type := Accept - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

