Click here to Skip to main content
15,902,198 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralWhat about a career change? Pin
CPallini11-Feb-09 21:35
mveCPallini11-Feb-09 21:35 
QuestionHow to get the password in IAS extension dll if ms-chap is used by radius client? Pin
okmnji7951311-Feb-09 16:04
okmnji7951311-Feb-09 16:04 
AnswerRe: How to get the password in IAS extension dll if ms-chap is used by radius client? Pin
Stuart Dootson11-Feb-09 23:23
professionalStuart Dootson11-Feb-09 23:23 
GeneralRe: How to get the password in IAS extension dll if ms-chap is used by radius client? Pin
okmnji7951312-Feb-09 18:43
okmnji7951312-Feb-09 18:43 
GeneralRe: How to get the password in IAS extension dll if ms-chap is used by radius client? Pin
Stuart Dootson12-Feb-09 21:22
professionalStuart Dootson12-Feb-09 21:22 
GeneralRe: How to get the password in IAS extension dll if ms-chap is used by radius client? Pin
okmnji7951313-Feb-09 21:59
okmnji7951313-Feb-09 21:59 
GeneralRe: How to get the password in IAS extension dll if ms-chap is used by radius client? [modified] Pin
okmnji7951313-Feb-09 22:17
okmnji7951313-Feb-09 22:17 
GeneralRe: How to get the password in IAS extension dll if ms-chap is used by radius client? Pin
okmnji7951315-Feb-09 18:56
okmnji7951315-Feb-09 18:56 
Stuart Dootson wrote:
Have you seen this page[^]. You need to send a challenge first, then the client should respond with a response (that'll be in the CHAP password field, I guess).

The response should be the MD5 of the CHAP ID octet, the password that the user entered and the CHAP challenge that you sent. If it is, you send back an Access-Accept, otherwise you send back an Access-Reject.

That's all documented in the RFC that I posted to you first time. Take the time and trouble to work out what your specs require you to do. I know nothing about this subject, but with some Googling, I've managed to work this out.


In this function : (http://msdn.microsoft.com/en-us/libr...03(VS.85).aspx)
DWORD WINAPI RadiusExtensionProcess(
__in const RADIUS_ATTRIBUTE *pAttrs,
__out PRADIUS_ACTION pfAction
);
Parameters
pAttrs [in]
Pointer to an array of attributes from the request. The array is terminated by an attribute with dwAttrType set to ratMinimum. These attributes should be treated as read-only; they should not be modified by RadiusExtensionProcess. Also, these attributes should not be referenced in any way after RadiusExtensionProcess returns.
pfAction [out]
Pointer to a value of type RADIUS_ACTION, initially set to raContinue. This parameter specifies the action that NPS should take in response to an Access-Request.


I can get all attributes by parameter 'pAttrs [in]'.The attributes include ratUserName,ratNASPort anf so on ,but no ratUserPassword or ratCHAPPassword.
When ratUserPassword and ratCHAPPassword are not in the an array of attributes from the request,how can i get the hash sent by the CHAP client??

Please help me.
GeneralRe: How to get the password in IAS extension dll if ms-chap is used by radius client? Pin
okmnji7951316-Feb-09 22:31
okmnji7951316-Feb-09 22:31 
GeneralRe: How to get the password in IAS extension dll if ms-chap is used by radius client? Pin
okmnji7951317-Feb-09 20:01
okmnji7951317-Feb-09 20:01 
Questiontrie Pin
tmnnik11-Feb-09 10:57
tmnnik11-Feb-09 10:57 
AnswerRe: trie Pin
Stuart Dootson11-Feb-09 11:12
professionalStuart Dootson11-Feb-09 11:12 
QuestionRe: trie Pin
led mike11-Feb-09 11:26
led mike11-Feb-09 11:26 
AnswerRe: trie Pin
Stuart Dootson11-Feb-09 12:15
professionalStuart Dootson11-Feb-09 12:15 
Questionc program that inputs 5 pairs of integers and determine if the second one is multiple of the first one Pin
raeiko11-Feb-09 10:42
raeiko11-Feb-09 10:42 
AnswerRe: c program that inputs 5 pairs of integers and determine if the second one is multiple of the first one Pin
Stuart Dootson11-Feb-09 11:07
professionalStuart Dootson11-Feb-09 11:07 
GeneralRe: c program that inputs 5 pairs of integers and determine if the second one is multiple of the first one Pin
raeiko11-Feb-09 11:31
raeiko11-Feb-09 11:31 
GeneralRe: c program that inputs 5 pairs of integers and determine if the second one is multiple of the first one Pin
Stuart Dootson11-Feb-09 12:30
professionalStuart Dootson11-Feb-09 12:30 
GeneralRe: c program that inputs 5 pairs of integers and determine if the second one is multiple of the first one Pin
raeiko11-Feb-09 13:28
raeiko11-Feb-09 13:28 
AnswerRe: c program that inputs 5 pairs of integers and determine if the second one is multiple of the first one Pin
CPallini11-Feb-09 11:59
mveCPallini11-Feb-09 11:59 
QuestionRe: c program that inputs 5 pairs of integers and determine if the second one is multiple of the first one Pin
David Crow12-Feb-09 3:24
David Crow12-Feb-09 3:24 
QuestionTrying to load a wave file into a class from the resource's Pin
simon alec smith11-Feb-09 10:05
simon alec smith11-Feb-09 10:05 
AnswerRe: Trying to load a wave file into a class from the resource's Pin
Stuart Dootson11-Feb-09 11:05
professionalStuart Dootson11-Feb-09 11:05 
QuestionA quick question about Microsoft Visual C++ Runtimes and Visual Studio 2008. Pin
santiageitorx11-Feb-09 7:21
santiageitorx11-Feb-09 7:21 
AnswerRe: A quick question about Microsoft Visual C++ Runtimes and Visual Studio 2008. Pin
led mike11-Feb-09 7:44
led mike11-Feb-09 7:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.