Re: Cleartext-Password := %{User-Name} in the users file. Possible?

2011-03-03 Thread Phil Mayers
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

RE: Cleartext-Password := %{User-Name} in the users file. Possible?

2011-03-03 Thread Difan Zhao
@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

Re: Cleartext-Password := %{User-Name} in the users file. Possible?

2011-03-03 Thread Phil Mayers
On 03/03/11 18:11, Difan Zhao wrote: Thanks Phil! It works! It definitely fits what I need! However just be curious, why my setting won't work? I'm not sure. It should work; it seems like the expansion: Cleartext-Password := %{User-Name} ...wasn't being acted on. Are you sure you didn't

Re: Cleartext-Password := %{User-Name} in the users file. Possible?

2011-03-03 Thread Alan DeKok
Phil Mayers wrote: I'm not sure. It should work; it seems like the expansion: Cleartext-Password := %{User-Name} ...wasn't being acted on. Are you sure you didn't have a typo somewhere? The control items aren't expanded in the hints or users file. Use unlang. Alan DeKok. - List