Comware Based
1752812 Members
6495 Online
108789 Solutions
New Discussion

Freeradius privilege level on HP A5500

 
jorel83
New Member

Freeradius privilege level on HP A5500

Hello.

I'm running freeradius and daloradius frontend, and got the HP A5500-L3 on Comware Comware Software, Version 5.20.99, Release 2221P15.

The basic login is working and my problem is privilege level. I want to use Freeradius reply attribute to escalate the privileges on login, basically be able to set "Huawei-Exec-Privilege = "3"" or whatever. The issue is likely a combination of lack of documentation, what is the right attributes to use and how to implement this in Freeradius.

Basically whatever I have tried, the debug of Freeradius gives me: "rlm_sql: Failed to create the pair: Unknown value <tried values>. 

Examples that failed:

NAS-Prompt-User
Huawei-Exec-Privilege = "3"
rlm_sql: Failed to create the pair: Unknown attribute "NAS-Prompt-User" requires a hex string, not "Huawei-Exec-Privilege = "3""

3Com-User-Access-Level
HP-Privelege-Level = 3
rlm_sql: Failed to create the pair: Unknown value HP-Privelege-Level = 3 for attribute 3Com-User-Access-Level

3Com-User-Access-Level
HP-Privelege-Level = 3
rlm_sql: Failed to create the pair: Unknown value 3Com-User-Access-Level = 3 for attribute 3Com-User-Access-Level

Apprieciate any take and help regarding this :)