Module exec and documentation not found or example
hello, good day, I'm desperately trying to create my own authentication and Autorization. I realized that the module can be integrated rlm_exec scripts in which to place procedures. the problem is that I can find detailed documentation and some examples that I can afford to create my own scripts. some of you might be kind enough to give me a hand? thank you maurizio -- View this message in context: http://freeradius.1045715.n5.nabble.com/Module-exec-and-documentation-not-fo... Sent from the FreeRadius - Dev mailing list archive at Nabble.com.
dragoalato1988 wrote:
hello, good day, I'm desperately trying to create my own authentication and Autorization. I realized that the module can be integrated rlm_exec scripts in which to place procedures.
I have no idea what that means.
the problem is that I can find detailed documentation and some examples that I can afford to create my own scripts.
See scripts/exec-program-wait Alan DeKok.
thanks for your answer, but I've seen this file and I was not very useful. I would like to make a script for example: if (% {User-Name} == "Foo") { echo "Hello Foo" } Where can I find documentation for this script Realize? Thank you again for any help. -- View this message in context: http://freeradius.1045715.n5.nabble.com/Module-exec-and-documentation-not-fo... Sent from the FreeRadius - Dev mailing list archive at Nabble.com.
If you google for "rlm_exec" then the first hit is: http://wiki.freeradius.org/Rlm_exec which tells you everything.
I would like to make a script for example: if (% {User-Name} == "Foo") {
echo "Hello Foo" }
Where do you want "Hello Foo" to be echoed to?? To a file?? In that case you can create a script like this: #!/bin/sh echo "Hello Foo" >>/tmp/output.txt and you can execute it using rlm_exec, but it's not very useful. Perhaps you want to include a message in the RADIUS reply? Then try sending back a Reply-Message attribute (although normally this will only make it back to the NAS and never be seen by the end-user) #!/bin/sh echo 'Reply-Message = "Hello Foo"' Brian.
thanks for your answer, but I've seen this file and I was not very useful. I would like to make a script for example: if (% {User-Name} == "Foo") { echo "Hello Foo" } Where can I find documentation for this script Realize? Thank you again for any help. Date: Thu, 1 Sep 2011 05:58:45 -0700 From: ml-node+4758211-671669314-233965@n5.nabble.com To: dragoalato1988@hotmail.it Subject: Re: Module exec and documentation not found or example dragoalato1988 wrote:
hello, good day, I'm desperately trying to create my own authentication and
Autorization. I realized that the module can be integrated rlm_exec scripts
in which to place procedures.
I have no idea what that means.
the problem is that I can find detailed
documentation and some examples that I can afford to create my own scripts.
See scripts/exec-program-wait Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html If you reply to this email, your message will be added to the discussion below: http://freeradius.1045715.n5.nabble.com/Module-exec-and-documentation-not-fo... To unsubscribe from Module exec and documentation not found or example, click here. -- View this message in context: http://freeradius.1045715.n5.nabble.com/Module-exec-and-documentation-not-fo... Sent from the FreeRadius - Dev mailing list archive at Nabble.com.
participants (3)
-
Alan DeKok -
Brian Candler -
dragoalato1988