RADIUS Attributes for Admin Privileges
Knowledge Base ID: KB5688
Version: 4.0
Published: 14 May 2009
Updated: 14 May 2009
Categories: . Firewall/IPSec_VPN
. ScreenOS
. RADIUS

Synopsis:
What Are the Attributes for Admin Privileges? The list below will assist in differentiating between a User and an Administrator who has been authenticated via RADIUS.

Problem:

Solution:

In ScreenOS, RADIUS authentication features support RADIUS attributes for everything except usernames, passwords, and IP addresses (this is standard behavior for XAuth and L2TP). 

The following shows the supported admin privilege attribute values:

Privilege Level Value
ROOT (Requires VSA#2 VSYS Name 'ROOT' be entered)
(Supported in ScreenOS 6.x only)
   1
All (Read-Write)    2
VSYS_ADMIN (Requires VSA#2 VSYS Name be entered)    3
Read_only    4
VSYS_Read_only (Requires VSA#2 VSYS Name be entered)    5


For RADIUS Server Dictionary files:

For ScreenOS MIBs and dictionary files:
http://www.juniper.net/techpubs/software/index_mibs.html.

For Funk / Steel Belt Radius: 
http://www.juniper.net/techpubs/software/screenos/screenos6.2.0/6.2.0.radius.netscreen.zip

For Cisco ACS:
http://www.juniper.net/customers/csc/research/netscreen_kb/downloads/dictionary/cisco_radius.zip


ROOT Admin Privilege Notes: 

  • The ROOT admin privilege level is not supported in ScreenOS 5.4 and below.  It is supported in ScreenOS 6.0 and above.
  • If using the ScreenOS dictionary files, use the ScreenOS 6.2.0 RADIUS dictionary file (for ScreenOS 6.x), as it has the ROOT attribute.  The ScreenOS 6.0.0 RADIUS dictionary file does not have the ROOT attribute.

6.2.0.radius.netscreen.zip (netscreen.dct)
# For Admin Privileges
# READ_WRITE (ALL): 2, VSYS_ADMIN: 3, READ_ONLY: 4, VSYS_READ_ONLY: 5
ATTRIBUTE NS-Admin-Privilege 26 [vid=3224 type1=1 len1=+2 data=int4] r
VALUE NS-Admin-Privilege ROOT 1
VALUE NS-Admin-Privilege READ_WRITE 2
VALUE NS-Admin-Privilege VSYS_ADMIN 3
VALUE NS-Admin-Privilege READ_ONLY 4
VALUE NS-Admin-Privilege VSYS_READ_ONLY 5

6.0.0.radius.netscreen.zip
(netscreen.dct)
# For Admin Privileges
# READ_WRITE (ALL): 2, VSYS_ADMIN: 3, READ_ONLY: 4, VSYS_READ_ONLY: 5
ATTRIBUTE NS-Admin-Privilege 26 [vid=3224 type1=1 len1=+2 data=int4] r
VALUE NS-Admin-Privilege READ_WRITE 2
VALUE NS-Admin-Privilege VSYS_ADMIN 3
VALUE NS-Admin-Privilege READ_ONLY 4
VALUE NS-Admin-Privilege VSYS_READ_ONLY 5

Purpose:
Troubleshooting