Re: Identical attributes on auth

2002-02-12 Thread Alan DeKok
Thomas Jalsovsky [EMAIL PROTECTED] wrote: OK, I see that in the last CVS is the paircmp fix. I compiled the latest CVS, and made som debugs. Unfortunately I can't make it working. It would be easier to debug the problem if you used a simple test entry in the 'users' file, and poked at the

Re: Identical attributes on auth

2002-02-11 Thread Alan DeKok
Alan DeKok [EMAIL PROTECTED] wrote: The code in src/main/valuepair.c, function paircmp() should be changed so that IF there isn't a match, it loops back to check for another copy of the same attribute. This will slow the server down a little, but not significantly. The patch would be

Re: Identical attributes on auth

2002-02-11 Thread Stig Andersson
Yup - here is another one interrested - me! /Stig At 11:22 2002-02-06 -0500, you wrote: Thomas Jalsovsky [EMAIL PROTECTED] wrote: my nas sends:=20 ... h323-ivr-out=3DtransactionID:13880 h323-ivr-out=3Dtype:test.tcl ... I want to check by the h323-ivr-out line,

Re: Identical attributes on auth

2002-02-07 Thread Thomas Jalsovsky
Thomas Jalsovsky [EMAIL PROTECTED] wrote: my nas sends: ... h323-ivr-out=transactionID:13880 h323-ivr-out=type:test.tcl ... I want to check by the h323-ivr-out line, so I would like to make decision (about accept/reject) by the attribute h323-ivr-out which

Re: Identical attributes on auth

2002-02-07 Thread Alan DeKok
Thomas Jalsovsky [EMAIL PROTECTED] wrote: OK, I see that in the last CVS is the paircmp fix. I compiled the latest CVS, and made som debugs. Unfortunately I can't make it working. It would be easier to debug the problem if you used a simple test entry in the 'users' file, and poked at the

Re: Identical attributes on auth

2002-02-07 Thread Alan DeKok
Thomas Jalsovsky [EMAIL PROTECTED] wrote: I searched in the docs and in the mailing list archives but I didn't find the clear definition of op values. Can somebody decribe me? For ex. what does the += op do in a radreply table? 'man users' If I make sure with the users file, what can I

Identical attributes on auth

2002-02-06 Thread Thomas Jalsovsky
Hello my nas sends: ... h323-ivr-out=transactionID:13880 h323-ivr-out=type:test.tcl ... I want to check by the h323-ivr-out line, so I would like to make decision (about accept/reject) by the attribute h323-ivr-out which has value 'type:something'.

Re: Identical attributes on auth

2002-02-06 Thread Alan DeKok
Thomas Jalsovsky [EMAIL PROTECTED] wrote: my nas sends: ... h323-ivr-out=transactionID:13880 h323-ivr-out=type:test.tcl ... I want to check by the h323-ivr-out line, so I would like to make decision (about accept/reject) by the attribute h323-ivr-out which has

Re: Identical attributes on auth

2002-02-06 Thread Thomas Jalsovsky
my nas sends: ... h323-ivr-out=transactionID:13880 h323-ivr-out=type:test.tcl ... I want to check by the h323-ivr-out line, so I would like to make decision (about accept/reject) by the attribute h323-ivr-out which has value 'type:something'. When

Re: Identical attributes on auth

2002-02-06 Thread Alan DeKok
Alan DeKok [EMAIL PROTECTED] wrote: The code in src/main/valuepair.c, function paircmp() should be changed so that IF there isn't a match, it loops back to check for another copy of the same attribute. This will slow the server down a little, but not significantly. The patch would be