Question on syntax in site definitions
Hi all, Quick question that I don’t see documented (at least not in the comments themselves). If one looks at sites-available/default (https://github.com/FreeRADIUS/freeradius-server/blob/release_3_0_20/raddb/si...) one sees “-sql” and “-ldap”. What’s the function of the `-‘ there? Is it a “use this if it is defined, but ignore it otherwise” bit of syntactic sugar? -- Coy Hile coy.hile@coyhile.com
On Jan 12, 2020, at 12:44 PM, Coy Hile <coy.hile@coyhile.com> wrote:
Hi all,
Quick question that I don’t see documented (at least not in the comments themselves). If one looks at sites-available/default (https://github.com/FreeRADIUS/freeradius-server/blob/release_3_0_20/raddb/si...) one sees “-sql” and “-ldap”. What’s the function of the `-‘ there?
Is it a “use this if it is defined, but ignore it otherwise” bit of syntactic sugar?
Yes. Run the server in debug mode and it will show you this. Alan DeKok.
participants (2)
-
Alan DeKok -
Coy Hile