Error: Program returned code (0) and output 'NT_KEY: ...'
Seems 3.0.x HEAD is now logging this for every mschap ntlm_auth. Not useful...
On 13 Jun 2014, at 13:43, Phil Mayers <p.mayers@imperial.ac.uk> wrote:
Seems 3.0.x HEAD is now logging this for every mschap ntlm_auth. Not useful... -
Fixed. Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
On 13/06/14 13:45, Arran Cudbard-Bell wrote:
On 13 Jun 2014, at 13:43, Phil Mayers <p.mayers@imperial.ac.uk> wrote:
Seems 3.0.x HEAD is now logging this for every mschap ntlm_auth. Not useful... -
Fixed.
Now getting Program returned code (0) and output 'NT_KEY: C95DE426881EADB848E743A31C0A2A74' (7) ERROR: mschap : Invalid output from ntlm_auth: NT_KEY has non-hex values (7) ERROR: mschap : MS-CHAP2-Response is incorrect Looks like 199b27e might be a bit awry; think the sizeof() calls have gone wrong? But that also doesn't fix it, maybe something in hex2bin?
On 13/06/14 16:00, Phil Mayers wrote:
Looks like 199b27e might be a bit awry; think the sizeof() calls have
Never mind, that's me being C-ignorant.
gone wrong? But that also doesn't fix it, maybe something in hex2bin?
Can't see what's going wrong. Looks like fr_hex2bin is returning 1.
On 13/06/14 16:10, Phil Mayers wrote:
On 13/06/14 16:00, Phil Mayers wrote:
Looks like 199b27e might be a bit awry; think the sizeof() calls have
Never mind, that's me being C-ignorant.
Nope, I was right; sizeof() on an array argument returns the pointer size, not the array size. i.e. this: void test(int a[8]) { } ...is actually: void test(int *a) { }
On 13/06/14 16:23, Phil Mayers wrote:
On 13/06/14 16:10, Phil Mayers wrote:
On 13/06/14 16:00, Phil Mayers wrote:
Looks like 199b27e might be a bit awry; think the sizeof() calls have
Never mind, that's me being C-ignorant.
Nope, I was right; sizeof() on an array argument returns the pointer size, not the array size.
Sent a pull request.
participants (2)
-
Arran Cudbard-Bell -
Phil Mayers