OpenNMS-User-Roles = "ROLE_USER,ROLE_ADMIN" Or, ff the user or group should also have the admin role: OpenNMS-User-Roles = "ROLE_USER,ROLE_ADMIN"Ī sample of a simple users file might look something like: mike User-Password = "foo" Find the section for the user or group for which you would like to assign OpenNMS roles, and add the following: OpenNMS-User-Roles = "ROLE_USER" To authorize users with OpenNMS user roles after they have been authenticated, we need to edit the FreeRadius users file. Now edit the file /usr/share/freeradius/dictionary and add the following line to it: $INCLUDE dictionary.opennms It should look like this: VENDOR OpenNMS 5813 Create a new file in /usr/share/freeradius called dictionary.opennms. On Gentoo, dictionary files are located in /usr/share/freeradius. OpenNMS Dictionary fileįirst, we need to create a dictionary file for OpenNMS. Please see FreeRadius documentation and man pages for more. Configuring FreeRadius outside of adding the dictionary file or adding the OpenNMS-User-Roles to the users file is beyond the scope of this document.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |