From dbcc997716f5bec3316c74371eb8077884d6672d Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Thu, 12 Apr 2012 16:43:12 +0200 Subject: [PATCH] Document the DynamicLookupCommand option. This closes RADSECPROXY-36. --- radsecproxy.conf.5.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/radsecproxy.conf.5.xml b/radsecproxy.conf.5.xml index 428f2de..2b6367c 100644 --- a/radsecproxy.conf.5.xml +++ b/radsecproxy.conf.5.xml @@ -644,6 +644,7 @@ blocktype name { AddTTL, rewrite, rewriteIn, rewriteOut, statusServer, retryCount, + dynamicLookupCommand and retryInterval and LoopPrevention. @@ -679,6 +680,21 @@ blocktype name { an interval of 5s. + The option dynamicLookupCommand can be used + to specify a command that should be executed to dynamically + configure a server. The executable file should be given with + full path and will be invoked with the name of the realm as its + first and only argument. It should either print a valid + server option on stdout and exit with a code + of 0 or print nothing and exit with a non-zero exit code. An + example of a shell script resolving the DNS NAPTR records for + the realm and then the SRV records for each NAPTR matching + 'x-eduroam:radius.tls' is provided in + tools/naptr-eduroam.sh. This option was + added in radsecproxy-1.3 but tends to crash radsecproxy versions + earlier than 1.6. + + Using the LoopPrevention option here overrides any basic setting of this option. See section BASIC OPTIONS for details on this option. -- 2.1.4