Deleting attributtes for Access-Accept

Alan DeKok aland at
Fri May 27 14:46:14 CEST 2016

On May 27, 2016, at 7:27 AM, Juanjo Abenza <juanjo at> wrote:
> It's from my server, the problem is that i set a user with a sql_ippool and
> when i put the user in another group, it add the attributte "Framed-Pool"
> wich i want my NAS to use, but somewhere i read that NASes gives priority
> to use the "Framed-IP-Address" before the "Framed-Pool" attributte.
> I'm now trying the next statement under post-auth, but after a few tries i
> couldn't find what is my error in the condition. when i achieve this i will
> do regex, but for now im trying with String.
> *Post-Auth section*
>        if ( &Framed-Pool == "cortados" ) {

  Is the Framed-Pool attribute in the request list?  I suspect it's in the reply.

  You will need to do:

	if ( &reply:Framed-Pool == "cortados" ) {

> I think it should return a TRUE

  No.  Read "man unlang".

  Alan DeKok.

More information about the Freeradius-Users mailing list