On Mon, 23 Jun 2003, Najeh Ben Nasrallah wrote:

>
>
> hi all
>  I posted a question regarding an order problem between sqlcounter and
> ldap using compare_check_item , but i got no response from anyone.
>
>
> I am posting the question again on the list. Hope I have reply this
> time. This is my question:
>
>
> i'm using freeradius 0.8.1.
>  i've enbaled ldap authorization with compare_check_item. i'am also
> using sqlcounter for authorization. my question is about the order  of
> modules in the authorization section
>
>  { ....
>    weekcounter         # check for "WEEK_QUOTA"
>    ...
>    ldap
> }
>  gives noop for sqlcounter, because there's no check-item."WEEK_QUOTA"
>
> { ...
>   ldap
>   ...
> weekcounter
> }
>  gives authorization failed, because the "ldap compare_check_items"
> tries to match the "WEEK_QUOTA" check-item with the request items.
>
>
> What should i do ?

Use another operator (:=) for WEEK_QUOTA. Something like:

radiusweekquota: := 12000

That should make things work.

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

--
Kostas Kalevras         Network Operations Center
[EMAIL PROTECTED]       National Technical University of Athens, Greece
Work Phone:             +30 210 7721861
'Go back to the shadow' Gandalf

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

Reply via email to