Alan DeKok wrote:
Joe Maimon wrote:
Here is what I am doing with rlm_policy


        if (request:Class =* "" ) {

  And what does that mean?  I haven't looked at the policy code in years...

And it still works nicely.

If Class exists in the request.



  See "man unlang" the "CONDITIONS" section for how conditions work.  If
you're just looking to see if Class exists, do:

        if (Class) {

  It's that easy.

And it works. Thanks.


                       if (request:Client-Short-Name == "noc03rt07") {
                               update request {

  You had "control" above.  Why "request" here?

Troubleshooting permutations.


These are all the patches I am currently carrying.

  OK... my $0.02 is put them in github.  Fork the "stable" branch, apply
your patches, and send me a link to the github repository.  That makes
it easier for me to see && apply the patches.

  Alan DeKok.

Soon as I figure it out.


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to