rlm_python learnings - PAP and MSCHAPv2

Arran Cudbard-Bell a.cudbardb at freeradius.org
Sat Jan 18 15:35:51 CET 2020



> On Jan 17, 2020, at 1:20 AM, Lang, Russell <Russell.Lang at team.telstra.com> wrote:
> 
> If you set the REST authorize 'body'='json' you do get the attributes, if you 'body'='post' you get none.

And if you don't set it at all the REST module figures out the correct parsing scheme to use based on the Content-Type header...

> In what format should the REST API return NT-Password?
> { {'type': 'string', 'value': []}}

{
'control:NT-Password': '0123456789ABCDEF0123456789ABCDEF'
}

-Arran





More information about the Freeradius-Users mailing list