Freeradius 1.1.2_1 on pfsense 1.2.3
-
Hi everybody !
I need help for the free radius package.
How can stop users syncronisation between pfsense configuration file and freeradius user files.
I had wrote an external application sometimes ago for managing the radius user file.
But sometimes pfsense restore old configuration and users in the radius user file are lost…Actually my application modify pfsense conf file and radius user file.
But i'm rewriting it and would like to modify only radius user file.Thanx for your help !
Marcoof -
marcoof,
A good way to keep you script working together with pfsense is to change config file using pfsense php framework and apply config after changes and or edit user files the way you did.
You can also edit package .inc file and comment the code that save user file on disk.
att,
Marcello Coutinho -
Yes, the problem is probably that you just change the "users" file on disk but you did not change the config.xml file on pfsese. If you now change anything on freeradius GUI then the changes on GUI will be saved to file "users" and this will overwrite your settings.
-
Thank for your help !
I modify both config and radius files. The trouble come when pfsense restore an older conf.
But i modify freeradius package inc and i can make what i want.Thanx
Marc