Why do some module call have a 'minus' sign in front in the config file ?

A.L.M.Buxey at lboro.ac.uk A.L.M.Buxey at lboro.ac.uk
Thu Feb 18 15:08:07 CET 2016


Hi,

> Some of the modules sometimes have a "minus" (-) sign in front of them
> in config files like -sql  -ldap
> 
> What purpose does it serve ?


Conditional Modules


they will only try to load up if configured - ie

-sql

will do nothing if no mods-enabled/sql present/configured.....and likewise
for 

-ldap



however, if you have configured SQL or LDAP then the server will use it automatically -
stops so many many problems with people trying to configure sql/ldap and then putting the call
into the wrong place....or not actually uncommenting the module...so no need to comment/uncomment.
just configure


> Can't really find this mentioned anywhere.


its in the documentation - raddb/mods-available/README.rst


there are three very imporant files to read

raddb/README.rst
mods-available/README.rst
sites-available/README

read those few files and many many questions are answered and your knowledge of the server vastly increased.


alan


More information about the Freeradius-Users mailing list