On 02/23/2016 06:35 PM, Alan DeKok wrote:
On Feb 23, 2016, at 4:28 PM, J Kephart <jkephart@safetynetaccess.com> wrote:
As ever, thanks, Alan. Somehow, I knew that I'd missed something in the sql update bit. My confusion comes from the final "else" statement; I would think that it belongs inside the update section as well. No.
Again, see "man unlang". This is documented.
Would it be "safe" to encapsulate the queries in a single update section, as below? No. See "man unlang". The format is documented. You can't just invent syntax and have it work.
If you had tried that configuration, the server would complain loudly, and refuse to start. Which would have answered your question.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Thanks, Alan. I was a little vague on the "man unlang" page, but I think it's starting to make sense. Don't mean to sound dense, just still learning, and there's so much that FR seems able to do, it's a little daunting! Jim