Help configuring FreeRADIUS on OS X Server - ERROR: (2) mschap: ERROR: (null): status = eServerError

Matthew Newton mcn at freeradius.org
Wed Dec 5 11:35:59 CET 2018


On Tue, 2018-12-04 at 22:16 -0500, Eric Wittle wrote:
>                 if (pStepBuff->fBufferLength > 4) {
>                   RDEBUG2("ELW: pStepBuff->fBufferLength > 4\n");
>                         size_t len;


I suspect changing that from uint32_t to size_t has had the unintended
consequences of making it a 64-bit integer on your platform, which
breaks the (len == 40) comparison.

Try changing "size_t len" to "uint32_t len" and see if that fixes it.


> (0) mschap: ELW: len == 3978992058181353512 

The lower 32 bits of this value are "40"... the rest is junk.

-- 
Matthew



More information about the Freeradius-Users mailing list