Author: abartlet Date: 2005-09-01 06:13:14 +0000 (Thu, 01 Sep 2005) New Revision: 9872
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9872 Log: Ensure to spit out a base64 blob on the final leg of NTLMSSP in the client, now the NTLMSSP code issues an 'AF' for the final packet. Andrew Bartlett Modified: trunk/source/utils/ntlm_auth.c Changeset: Modified: trunk/source/utils/ntlm_auth.c =================================================================== --- trunk/source/utils/ntlm_auth.c 2005-09-01 06:11:32 UTC (rev 9871) +++ trunk/source/utils/ntlm_auth.c 2005-09-01 06:13:14 UTC (rev 9872) @@ -693,7 +693,8 @@ data_blob_free(&reply); DEBUG(10, ("NTLMSSP challenge\n")); } else if (NT_STATUS_IS_OK(nt_status)) { - x_fprintf(x_stdout, "AF\n"); + char *reply_base64 = base64_encode_data_blob(reply); + x_fprintf(x_stdout, "AF %s\n", reply_base64); DEBUG(10, ("NTLMSSP OK!\n")); if (ntlmssp_state) ntlmssp_end(&ntlmssp_state);
