Passing authentication info to EAP-PEAP via RasEapGetIdentity

G

Guest

Hi,

I was wondering if someone knowledgable about Microsoft's implementation of
EAP-PEAP could answer a question for me.

I am using Platform Builder 5.0, my os is WinCE5.0. I want to use EAP-PEAP
to do wireless authentication. My target device does not have a display, so
no UI, and cannot interact with a user in any way. In order to authenticate
with an Access Point, PEAP needs to have a username and password. What I
want to do is set the registry at
COMM\EAP\Extension\25\InvokeUsernmeDialog=0, InokePasswordDialog=0, and
IdentityPath=my own dll that implements the RasEapGetIdentity function.
RasEapGetIdentity is allowed to pass back a ppUserDataOut, a BYTE array of
arbitrary length, and ppwszIdentity, which is a Unicode string for the user
identity. ppUserDataOut is then passed to the EAP-PEAP module in the
PPP_EAP_INPUT.pUserData field during the RasEapBegin call.

I have two questions:

1. Does the EAP-PEAP module extract the password from the pUserData byte
array?
2. What is the format of the pUserData byte array (I assume its some kind of
structure that the byte array is cast into....)

Thanks in advance for your help,

Michael
 
V

Vijay Kumar

Hi Michael,
I have the same question did u ever found an answer to this question.
In my case I do not implement the RasEapGetIdentity (just using that default)
, and so in the RasEapBegin, the pUserData it passes to my DLL is NULL, it
does pass the 'pwszIdentity' and the 'pwszPassword' that is entered in the
UI. In that case we need to fill-in the pUserData, but as u said we have no
structure or the order defined to fill-it up. I am stuck with this.
Specifically, i want to identify what are all the data or params, we need to
fill at the end of the authentication session in the pEapOutput.
I know of two,
pUserAttributes [with the MPPE keys]
pUserData [no idea what to fill-in here]
And anything else?
The MSDN documentation on this topic is incomplete, leaves a lot of
unanswered Questions
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top