[jcifs] MS-CHAP and MS-CHAP-V2 possible?

Mike Bean bean at alcatel-lucent.com
Tue Feb 27 00:57:09 GMT 2007


I have some JNI code to perform LsaLogonUser calls on Windows to 
validate MS-CHAP and MS-CHAP-V2 responses.  It looks like you should be 
able to do the same with JCIFS but it appears that challenges must be 
chosen by DC.  Unfortunately I need to specify a challenge rather than 
get one from DC.  Is there any way to create a 
NtlmPasswordAuthentication object with external hashes and challenge and 
perform a logon to validate hashes?  Can I get the user password hashed 
twice to use in generating MPPE keys, I believe this is the user session 
key?

Thanks,

Mike


More information about the jcifs mailing list