beautypg.com

Appendix b: adding a, Appendix b, adding a, Pcon – MultiDyne ACI-2058 User Manual

Page 188: Attributes to your radius server, Adding a, Appendix b

background image

A54-3000-100 A

149

A

PCON

, Inc.

Adding A

PCON

Attributes to your RADIUS Server

After you finish the initial setup, verify that it works. You can then add attributes, which are
available to the A

PCON

firmware that supports them.

To add attributes:

1. Get the

dictionary.apcon

file from support (Professional Services).

2. Copy

dictionary.apcon

to this location:

/usr/share/freeradius/

3. Edit

/etc/raddb/dictionary

, adding this line:

$INCLUDE /usr/share/freeradius/dictionary.apcon

This adds an

Apcon-User-Level

attribute with these possible values:

0

Default

User inherits the switch’s default new user level.

1

Guest

User has read-only access.

2

Operator

User has some pre-canned write functionality (for example, recalling
presets).

3

Advanced

User can perform ad-hoc patching.

4

Admin

User can administer the switch.

4. Alter the user lines /etc/raddb/users to include the user level. For example:

user1 Auth-Type := Local, User-Password == “pass1”

Apcon-User-Level == Admin

5. Restart your RADIUS server by entering this command:

sudo /etc/rc.d/init.d/radiusd restart

Appendix B

Adding A

PCON

Attributes to

your RADIUS Server

Appendix B

Note

Examples of the of the RADIUS attributes are based on the FreeRADIUS server. The exact
syntax depends upon your RADIUS server.