Huawei switchs and MAC address authentication

Pascal Legrand pascal.legrand at univ-orleans.fr
Tue Apr 9 11:04:56 CEST 2019


I've got 2 logs (freeradius -X), one which works and one which failed 
(huawei)

i can see that
OK    : files: users: Matched entry DEFAULT at line 181
NoOK  : files: users: Matched entry 0080F401C325 at line 182

I think it's about the "/etc/freeradius/3.0/mods-config/files/authorize" 
file.

Here is the 2 lines
181 DEFAULT Framed-Protocol == PPP
182         Framed-Protocol = PPP,

Does someone could explain me what is the problem?

Le 09/04/2019 à 09:52, Pascal Legrand a écrit :
> 
> 
> Le 09/04/2019 à 09:39, Matthew Newton a écrit :
>> On 9 April 2019 08:28:16 BST, Pascal Legrand 
>> <pascal.legrand at univ-orleans.fr> wrote:
>>>
>>> authorize file :
>>> 5820B1784219 Cleartext-Password := "5820B1784219", Nom-Machine :=
>>> "PORT-GIM-PRET-2"
>> ...
>>> but each time i try with huawei switch i've got this error message
>>> Auth: (0) Login incorrect (No Auth-Type found: rejecting the user via
>>> Post-Auth-Type = Reject): [5820b1784219/5820b1784219] (from client
>>> Switch-CM3 port 4098 cli 5820B1784219)  - Machine Inconnue
>>
>> The Huawei is sending in lowercase, you have uppercase in the users file.
>>
>>
> 
> First thanks for your answer
> i made some tests
> On freeradius i replace
> 5820B1784219 Cleartext-Password := "5820B1784219", Nom-Machine := 
> "PORT-GIM-PRET-2"
> with
> 5820b1784219 Cleartext-Password := "5820b1784219", Nom-Machine := 
> "PORT-GIM-PRET-2"
> 
> no success :
> Auth: (0) Login incorrect (No Auth-Type found: rejecting the user via 
> Post-Auth-Type = Reject): [5820b1784219/5820b1784219] (from client 
> Switch-CM3 port 4098 cli 5820B1784219)  - Machine Inconnue
> 
> 
> 

-- 
Pascal



More information about the Freeradius-Users mailing list