Cleartext-Password := "%{User-Name}" in the users file. Possible?
Phil Mayers
p.mayers at imperial.ac.uk
Thu Mar 3 17:15:38 CET 2011
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
More information about the Freeradius-Users
mailing list