Feb 7 at 11:03 PM
Edited Feb 7 at 11:05 PM
|
Hi,
Has anybody used SetCustomAuthData / UpdateCustomAuthData yet? Can't seem to find any information about this?
Any help would be appreciated.
Thanks,
Daniel
|
|
Coordinator
Feb 8 at 5:30 AM
Edited Feb 8 at 5:30 AM
|
Those methods are there for users that need to set custom EAP data. They were exposed simply because they were part of the Win32 RAS SDK, however given that there is no information on how to use them, I believe those methods are dependent on the EAP provider that is being used to tell you what to pass into them as a byte array.
Jeff
|
|
|
|
Hi Jeff,
Thanks for the info. I was able to get a working solution. I figured CustomAuthData stored in pbk was in hex so converted this into a byte array.
The entry had to be created before I update the CustomAuthData
Here's the Code. Using Powershell ( http://dotras.codeplex.com/discussions/432350)
[byte[]] $byte = 2,0,0,0,68,0,0,0,17,0,0,0,20,0,0,0,97,0,58,0,93,0,10,251,0,36,38,58,0,0,28,179,234,161,83,119,118,0,112,0,110,0,10,0,112,0,101,0,98,0,10,0,10,0,101,0,0,0,116,0,118,0,0,0,1,0,0,0
$entry.UpdateCustomAuthData($byte)
Daniel
|
|