OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • FreeRADIUS user attributes
« previous next »
  • Print
Pages: [1]

Author Topic: FreeRADIUS user attributes  (Read 2316 times)

shans22

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
FreeRADIUS user attributes
« on: August 08, 2019, 11:07:31 pm »
Hello Sense Team.
I apologize for my poor English.
Prompt, it is possible to use additional attributes in settings of users of FreeRADIUS.
For example.
I need to add the service-Type := Administrative-User attribute to one of the users. If I make changes directly to the /raddb/users file, everything works fine after restarting freeradius. But only until the "apply" button is pressed in Services: FreeRADIUS: Users and the /raddb/users file is overwritten.
It is logical to add new fields to the user form.
I added an additional field <label>Service Type</label> to /usr/local/opnsense/mvc/app/controllers/OPNsense/Freeradius/forms/dialogEditFreeRADIUSUser.xml. A new field has appeared in the user form.
Now the problem is in field <id>user._</id> order by pressing the "apply" button the value of the floor is transmitted to the file /raddb/users. Where values are matched <id>user ._</id> and "users" file attributes?
Thank You in advance for your help.
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: FreeRADIUS user attributes
« Reply #1 on: August 09, 2019, 06:02:37 am »
Please write a list via GitHub Feature requests and I'll take it
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

shans22

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: FreeRADIUS user attributes
« Reply #2 on: August 09, 2019, 02:58:41 pm »
Сreated new issue in a github.com/opnsense/plugins/issues/
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • FreeRADIUS user attributes
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2