MS-CHAP-V2 with no retry

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



--On Friday, March 04, 2011 11:49:50 +0100 Alan DeKok 
<aland at deployingradius.com> 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 
`/usr/local/dnsnode/src/radiusd/20110105/freeradius-server/src/modules/rlm_eap/types/rlm_eap_mschapv2'
/usr/local/dnsnode/src/radiusd/20110105/freeradius-server/libtool 
--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
 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  -fPIC -DPIC -o 
.libs/rlm_eap_mschapv2.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 
`/usr/local/dnsnode/src/radiusd/20110105/freeradius-server/src/modules/rlm_eap/types/rlm_eap_mschapv2'
gmake[8]: *** [rlm_eap_mschapv2] Error 2


-James


-- 
James J J Hooper
Network Specialist, University of Bristol
http://www.wireless.bristol.ac.uk
-- 

-------------- 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: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20110304/9d34653c/attachment.obj>


More information about the Freeradius-Users mailing list