Possible little extension to dictionnary.h3c

Arran Cudbard-Bell a.cudbardb at freeradius.org
Sun Jan 19 23:47:02 CET 2014


On 19 Jan 2014, at 22:22, Mathieu Simon (Lists) <matsimon.lists at simweb.ch> wrote:

> G'day
> 
> While trying to figure out how I could tuck the admin auth to our
> FreeRADIUS for some of our 3Com 2928 switches which seemingly were made
> by H3C and thus behave a little different from standard 3Com comware
> devices. (HP has relabeled them, now known as HP 1910 series)
> 
> After some searching I came across a forum post on HP's pages where a
> user mentioned how he got it working.* Thankfully he included his
> modified dictionnary.h3c which adds a single H3C-specific
> Hw_Exec_Privilege attribute which seems to do the trick for those boxes.
> 
> Although it seems to work for me, if it's not completely wrong what
> about taking that little change upstream for the benefit of others?
> 
> I've tested this on a old FR  2.1.12 on Debian, but it seems the H3C
> dict hasn't changed for some time and thus the patch should also apply
> on 2.x and 3.x branches.
> 
> --- dictionary.h3c      2014-01-19 23:08:05.016784021 +0100
> +++ dictionary.h3c.new  2014-01-19 23:09:48.832375719 +0100
> @@ -18,4 +18,11 @@
> ATTRIBUTE      H3C-Ip-Host-Addr                        60      string
> ATTRIBUTE      H3C-Product-ID                          255     string
> 
> +ATTRIBUTE      Hw_Exec_Privilege                       29      integer
> +
> +VALUE          Hw_Exec_Privilege       H3C-Visitor             0
> +VALUE          Hw_Exec_Privilege       H3C-Monitor             1
> +VALUE          Hw_Exec_Privilege       H3C-Manager             2
> +VALUE          Hw_Exec_Privilege       H3C-Administrator       3
> +
> END-VENDOR     H3C

Added to 3.0.x/master, thanks.

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140119/ac1d9512/attachment.pgp>


More information about the Freeradius-Users mailing list