Make heim_ntlm_decode_type3 more useful and provide a username. From

Ming Yang.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22370 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-12-28 16:12:01 +00:00
parent dba71ba54d
commit 28f2cb6167

View File

@@ -732,7 +732,7 @@ heim_ntlm_decode_type3(const struct ntlm_buf *buf,
CHECK(ret_buf(in, &ntlm, &type3->ntlm), 0);
CHECK(ret_string(in, ucs2, &target, &type3->targetname), 0);
CHECK(ret_string(in, ucs2, &username, &type3->username), 0);
CHECK(ret_string(in, ucs2, &username, &type3->ws), 0);
CHECK(ret_string(in, ucs2, &ws, &type3->ws), 0);
if (sessionkey.offset)
CHECK(ret_buf(in, &sessionkey, &type3->sessionkey), 0);