Freeradius 3.0 hints, rlm_perl

A.L.M.Buxey at lboro.ac.uk A.L.M.Buxey at lboro.ac.uk
Sun Jul 21 20:02:04 CEST 2013


Hi,

> While trying that I also build a 3.0 GIT HEAD and there were a few
> problems, I trippeled about:
> 
>         - HINTS does not work the way it did before. Especially this no
>           longer works for me:
> 
> DEFAULT User-Name =~ "^v104\\\\([^@]+)"
>      User-Name := "%{1}@V104.GMVL.DE"


I bleieve hitns is going the way of the dodo eventually - unlang can do the work for you eg

if (%{User-Name} =~ "^v104\\\\([^@]+)" ) {
	update request {
		%{User-Name} := "%{1}@V104.GMVL.DE"
		}
	}

or somesuch.

> Message is: (0) WARNING: Unknown value specified for Post-Auth-Type.  Cannot perform requested action.

as already said, this is just no reject part on post-auth - this has been common since 2.2.x

>         - freeradius gives me a segmentation fault as soon as I put 'perl' in
>           the authorize section and do one authentication request.

thats more interesting. We run PERL with 3.x here and havent seen such an issue.... wonder
if your PERL environment is different....

it would be sooo much better for you to be running (or ready to run!) 3.x at this point in time

alan


More information about the Freeradius-Users mailing list