Re[6]: if, then, else with ldap attributes

2004-04-09 Thread Alexander Lunyov
Hello Michael, Saturday, April 10, 2004, 1:07:14 AM, you wrote: MG> On Fri, 2004-04-09 at 15:05, Alexander Lunyov wrote: >> "192684935" is a sql query result. But before minus there >>must be Rad-Traffic-Limit, am i right? Where is it go to? MG> I think I see the problem... Try changing

Re: Re[4]: if, then, else with ldap attributes

2004-04-09 Thread Michael Griego
On Fri, 2004-04-09 at 15:05, Alexander Lunyov wrote: > "192684935" is a sql query result. But before minus there >must be Rad-Traffic-Limit, am i right? Where is it go to? I think I see the problem... Try changing your %{expr: block per the following: Replace %{Rad-Traffic-Limit} with %

Re[4]: if, then, else with ldap attributes

2004-04-09 Thread Alexander Lunyov
Hello Michael, Friday, April 9, 2004, 11:11:43 PM, you wrote: >> rlm_ldap: Adding radiusTrafficLimit as Rad-Traffic-Limit, value 314572800 & op=11 >> >> radius_xlat: '-192684935' >> >> Traffic-Limit := 0 >> Rad-Traffic-Limit = 314572800 >> >> I don't understand it... Rad-Traffi

Re: Re[2]: if, then, else with ldap attributes

2004-04-09 Thread Michael Griego
On Fri, 2004-04-09 at 13:06, Alexander Lunyov wrote: > rlm_ldap: Adding radiusTrafficLimit as Rad-Traffic-Limit, value 314572800 & op=11 > > radius_xlat: '-192684935' > > Traffic-Limit := 0 > Rad-Traffic-Limit = 314572800 > > I don't understand it... Rad-Traffic-Limit have value

Re[2]: if, then, else with ldap attributes

2004-04-09 Thread Alexander Lunyov
Hello Kostas, Friday, April 9, 2004, 2:12:37 PM, you wrote: KK> On Thu, 8 Apr 2004, Alexander Lunyov wrote: >> Hello freeradius-users, >> >> I need to differentiate users with their traffic limits, so i have >> common traffic limit digit in LDAP in >> cn=radprofile,dc=domain,dc=com, and fo

Re: if, then, else with ldap attributes

2004-04-09 Thread Kostas Kalevras
On Thu, 8 Apr 2004, Alexander Lunyov wrote: > Hello freeradius-users, > > I need to differentiate users with their traffic limits, so i have > common traffic limit digit in LDAP in > cn=radprofile,dc=domain,dc=com, and for some users i have set their own > traffic limits in their own entri

if, then, else with ldap attributes

2004-04-08 Thread Alexander Lunyov
Hello freeradius-users, I need to differentiate users with their traffic limits, so i have common traffic limit digit in LDAP in cn=radprofile,dc=domain,dc=com, and for some users i have set their own traffic limits in their own entries (like uid=lan,ou=users,dc=domain,dc=com). So i nee