msRADIUSFramedIPAddress AD attribute

Alan DeKok aland at deployingradius.com
Thu Jul 25 14:35:49 CEST 2013


Júlíus Þór Bess Ríkharðsson wrote:
> I have put together a small python script using some VB code I found on a website. This is the conversion function:

  Thanks.

  In v3 (soon, soon, dang it), this won't be necessary.  You can unpack
the 4-byte IP address directly via:

	# assume MS-RADIUS-Framed-IP-Address
	# is "octets", and 4 bytes long

	update reply {
		Framed-IP-Address = &MS-RADIUS-Framed-IP-Address
	}

  And the 4 bytes of data will magically become a Framed-IP-Address.

  Alan DeKok.


More information about the Freeradius-Users mailing list