summaryrefslogtreecommitdiffstats
path: root/src/ntlm.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix epoch valueSimo Sorce2014-04-121-1/+1
| | | | It was off by a factor of 10
* Fix segfault in init context.Simo Sorce2014-01-261-4/+9
| | | | | | | | | | | The init context function was improperly initializing the ctx variable (too late) when some early error conditions can happen. Therefore passing to the delete context function a random memory address it would then try to free. This wuld cause a SEGFAULT in most cases. Additionally unfortunately iconv_close() does not follow good practices and blindignly dereferences data, even if the passed in pointer is NULL. So add a check before calling.
* Add support for NTLMv1 Signing and SealingSimo Sorce2013-10-231-17/+0
| | | | Including tests to verify conformance to MS-NLMP
* Basic implementation of accept_sec_contextSimo Sorce2013-08-181-2/+8
| | | | For now works only for satndalone server with access to a password file.
* Fix message type checkSimo Sorce2013-07-281-4/+0
|
* Fix target_info length calculationSimo Sorce2013-07-281-10/+10
| | | | | The size of the AV filed itself was missing for each field resulting in a shorter than needed buffer size.
* Implement credential handlingSimo Sorce2013-07-181-0/+20
|
* NTLM Crypto functionsSimo Sorce2013-07-181-28/+0
| | | | Adds crypto function helpers needed by NTLM authentication
* Initial NTLM message parsing librarySimo Sorce2013-07-161-0/+1387
Implements functions to encode/decode NTLMSSP packets