Why doesn't := "Always match?"

George C. Kaplan gckaplan at ack.berkeley.edu
Mon Jul 24 17:50:32 CEST 2006


Phil Mayers wrote:
>> I'll try to give an example.  Suppose you had two entries, using '=='
>> for the same user:
>>
>> plong   Auth-Type = Local, User-Password == "126"
>>
>> plong   Auth-Type = Local, User-Password == "123"
>>
>> Then, if 'plong' supplies the password "123", the 'files' module
>> (which processes the 'users' file) will select the second entry, then
>> the authentication module will compare the passwords in the request
>> and config items, and the user will be accepted.
> 
> 
> Hmm. So it does. I didn't think the server behaved that way. It does not
> seem terribly consistent.

OK, now *I'm* confused.  What's inconsistent about the above behavior?

-- 
George C. Kaplan                            gckaplan at ack.berkeley.edu
Communication & Network Services            510-643-0496
University of California at Berkeley



More information about the Freeradius-Users mailing list