Question regarding multivalued attributes in control list.

2011-09-02 Thread Olivier Beytrison
Hello, I'm trying since two week to do some multi-valued attribute checking on my radius infrastructure. I've been looking to checkval, using the users file and such but with no luck. I'm running two FR 2.1.10 on ubuntu for the eduroam project. The local authentication is made against an Novell

Re: Question regarding multivalued attributes in control list.

2011-09-02 Thread Arran Cudbard-Bell
No your check will not iterate over every instance of a value. In order to do that you'll need to use FreeRADIUS 3.x and use the foreach unlang construct or perl. Plus the way you're doing policies is weird. Why don't you just use the policy module (policy.conf)? It'd be way more memory

Re: Question regarding multivalued attributes in control list.

2011-09-02 Thread Olivier Beytrison
Thanks Arran for those answers, No your check will not iterate over every instance of a value. In order to do that you'll need to use FreeRADIUS 3.x and use the foreach unlang construct or perl. hmm, FreeRADIUS 3.x? Is it suitable for production environnement ? Or i'll simply fall back to

Re: Question regarding multivalued attributes in control list.

2011-09-02 Thread Arran Cudbard-Bell
On 2 Sep 2011, at 16:25, Olivier Beytrison wrote: Thanks Arran for those answers, No your check will not iterate over every instance of a value. In order to do that you'll need to use FreeRADIUS 3.x and use the foreach unlang construct or perl. hmm, FreeRADIUS 3.x? Is it suitable for

Re: Question regarding multivalued attributes in control list.

2011-09-02 Thread Alexander Clouter
Arran Cudbard-Bell a.cudba...@freeradius.org wrote: No your check will not iterate over every instance of a value. In order to do that you'll need to use FreeRADIUS 3.x and use the foreach unlang construct or perl. Last time I checked[1] it seemed trivial to backport to 2.1.x. Cheers [1]

Re: Question regarding multivalued attributes in control list.

2011-09-02 Thread Arran Cudbard-Bell
On 2 Sep 2011, at 23:16, Alexander Clouter wrote: Arran Cudbard-Bell a.cudba...@freeradius.org wrote: No your check will not iterate over every instance of a value. In order to do that you'll need to use FreeRADIUS 3.x and use the foreach unlang construct or perl. Last time I