question about default site file
I'm writing a little tool that our clients will execute to configure their freeradius instance (given a stock - nothing changed yet setup). Basically it parses the various setup files and makes substitutions, changes, etc. The idea here is the client won't (shouldn't) edit the files manually. Anyway I noticed that the files ship with sql module directives with a prefixed dash. Ie. -sql What's the meaning of this? Couldn't find it documented anywhere. Another comment method? Something else? Bill
On Apr 13, 2017, at 1:03 PM, Bill Schoolfield <bill@billmax.com> wrote:
I'm writing a little tool that our clients will execute to configure their freeradius instance (given a stock - nothing changed yet setup). Basically it parses the various setup files and makes substitutions, changes, etc. The idea here is the client won't (shouldn't) edit the files manually.
Anyway I noticed that the files ship with sql module directives with a prefixed dash. Ie. -sql
What's the meaning of this? Couldn't find it documented anywhere. Another comment method? Something else?
Don't die if the module isn't present. -Arran
Not sure I follow. Is this the same as "use if module available"? If I want to use the sql module, do I need to change this directive so "-" is gone? Bill On 4/13/2017 12:32 PM, Arran Cudbard-Bell wrote:
On Apr 13, 2017, at 1:03 PM, Bill Schoolfield <bill@billmax.com> wrote:
I'm writing a little tool that our clients will execute to configure their freeradius instance (given a stock - nothing changed yet setup). Basically it parses the various setup files and makes substitutions, changes, etc. The idea here is the client won't (shouldn't) edit the files manually.
Anyway I noticed that the files ship with sql module directives with a prefixed dash. Ie. -sql
What's the meaning of this? Couldn't find it documented anywhere. Another comment method? Something else? Don't die if the module isn't present.
-Arran
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Apr 13, 2017, at 1:03 PM, Bill Schoolfield <bill@billmax.com> wrote:
I'm writing a little tool that our clients will execute to configure their freeradius instance (given a stock - nothing changed yet setup). Basically it parses the various setup files and makes substitutions, changes, etc. The idea here is the client won't (shouldn't) edit the files manually.
Sounds nice.
Anyway I noticed that the files ship with sql module directives with a prefixed dash. Ie. -sql
What's the meaning of this? Couldn't find it documented anywhere. Another comment method? Something else?
$ man unlang It means "try to load SQL, but if you can't, don't worry about it". Run the server in debugging mode without the rlm_sql library, and see the warning message. Alan DeKok.
participants (3)
-
Alan DeKok -
Arran Cudbard-Bell -
Bill Schoolfield