Why do some module call have a 'minus' sign in front in the config file ?
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 ? Can't really find this mentioned anywhere. Cheers, Sylvain
On 18/02/16 11:24, Sylvain Munaut wrote:
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 ?
It'll be skipped if it's not defined, IIRC. It lets the default config be completely generic, with placeholder modules in the right place, but people don't have to remember to uncomment it. At least, that's my recollection.
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
Hi, Thanks to you both !
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.
Indeed, very useful info in there. I had searched the whole "unlang" man page for an answer but didn't think to look at other readmes. Cheers, Sylvain
participants (3)
-
A.L.M.Buxey@lboro.ac.uk -
Phil Mayers -
Sylvain Munaut