summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Make naptr-eduroam.sh check NAPTR type case insensitively.Linus Nordberg2012-08-131-2/+2
| | | | Fix by Adam Osuchowski.
* Use printf(1) instead of 'echo -e' in tools/ scripts.Linus Nordberg2012-04-162-6/+8
| | | | Closes RADSECPROXY-40.
* Don't treat exit 10 from dynamic scripts differently from any other non-zero ↵Linus Nordberg2012-04-122-2/+2
| | | | | | | | | | | code. clientwr() should treat the dynamic lookup as a failure and will not be any happier to know that the exact error was that it didn't resolv. The script can do whatever logging is wanted. That said, this commit also makes the scripts exit with 10 in order to signal failure.
* Use /bin/sh rather than /bin/bash in scripts.Linus Nordberg2012-04-121-1/+1
| | | | Using /bin/bash isn't portable.
* Use built-in echo rather than /bin/echo.Linus Nordberg2012-04-121-5/+5
| | | | `-e' to /bin/echo isn't portable. The BSD's lacks it for instance.
* Make dynamic-resolve scripts in tools/ sort numerically.Linus Nordberg2012-04-122-6/+6
| | | | Spotted by Paul Dekkers. Closes RADSECPROXY-39.
* Stop resolver scripts from signalling "not found".Linus Nordberg2012-02-182-2/+2
| | | | This triggers a bug in radsecproxy. Don't use it for now.
* A DynamicLookupCommand exiting with 10 is treated like an empty server stanza.Linus Nordberg2011-10-082-2/+2
| | | | | | | | | This way a script can signal "not found". The naptr-eduroam.sh and radsec-dynsrv.sh scripts are changed to behave like this. Closes RADSECPROXY-22.
* Fix typos, spelling and whitespace in tools/naptr-eduroam.sh.Linus Nordberg2011-07-011-15/+15
| | | | Also, change `test' to '['.
* (tools/naptr-eduroam.sh): Use /bin/sh rather than bash.Linus Nordberg2011-05-311-8/+8
| | | | | | | | | | Not all systems have bash (esp. not in /bin) and some people argue that /bin/sh should be less unsafe due to less code, lower complexity and being around for longer time. Fixes: - /bin/sh builtin echo doesn't have `-e' -- use /bin/echo - /bin/sh builtin test ([) doesn't understand `==' -- use `='
* Reindent tools/naptr-eduroam.sh.Linus Nordberg2011-05-311-33/+34
|
* Create tools/ directory and move shell scripts there.Linus Nordberg2010-05-283-0/+171