MS-CHAP-V2 with no retry

James J J Hooper jjj.hooper at
Fri Mar 4 13:04:51 CET 2011

--On Friday, March 04, 2011 11:49:50 +0100 Alan DeKok 
<aland at> wrote:

> James J J Hooper wrote:
>>>   That could be fixed for 2.1.11, I guess.  If someone can test it...
>> Yes please, and will do.
>   Try this patch.  You should see "MSCHAP Failure" in the debug log,
> where it wasn't there before.
>   Try it for normal && accounts which are locked out (SMB-Account-Ctrl =
> 1024)
>   Alan DeKok.

Hi Alan,

Compile error (& result of patch .c attached):

Making all in rlm_eap_mschapv2...
gmake[9]: Entering directory 
--mode=compile gcc  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall 
-D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef 
-I/usr/local/dnsnode/src/radiusd/20110105/freeradius-server/src   -I../.. 
-I../../libeap -c rlm_eap_mschapv2.c
mkdir .libs
-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -W -Wredundant-decls -Wundef 
-I/usr/local/dnsnode/src/radiusd/20110105/freeradius-server/src -I../.. 
-I../../libeap -c rlm_eap_mschapv2.c  -fPIC -DPIC -o 
rlm_eap_mschapv2.c: In function `mschapv2_authenticate':
rlm_eap_mschapv2.c:658: error: called object is not a function
rlm_eap_mschapv2.c:658: error: too few arguments to function `pairmove2'
gmake[9]: *** [rlm_eap_mschapv2.lo] Error 1
gmake[9]: Leaving directory 
gmake[8]: *** [rlm_eap_mschapv2] Error 2


James J J Hooper
Network Specialist, University of Bristol

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rlm_eap_mschapv2.c--new1.gz
Type: application/octet-stream
Size: 5246 bytes
Desc: not available
URL: <>

More information about the Freeradius-Users mailing list