Lines Matching defs:blob
188 /* Now write out the auth header and null blob. */
207 /* Generate the sign blob. */
243 /* Append the auth blob. */
245 DEBUG(0,("create_next_pdu_ntlmssp: failed to add %u bytes auth blob.\n",
726 DATA_BLOB blob;
728 ZERO_STRUCT(blob);
758 blob = data_blob(NULL,p->hdr.auth_len);
760 if (!prs_copy_data_out((char *)blob.data, rpc_in_p, p->hdr.auth_len)) {
761 DEBUG(0,("api_pipe_bind_auth3: Failed to pull %u bytes - the response blob.\n",
771 if (!pipe_ntlmssp_verify_final(p, &blob)) {
775 data_blob_free(&blob);
783 data_blob_free(&blob);
1099 DATA_BLOB blob;
1114 /* Grab the SPNEGO blob. */
1115 blob = data_blob(NULL,p->hdr.auth_len);
1117 if (!prs_copy_data_out((char *)blob.data, rpc_in_p, p->hdr.auth_len)) {
1123 if (blob.data[0] != ASN1_APPLICATION(0)) {
1127 /* parse out the OIDs and the first sec blob */
1128 if (!parse_negTokenTarg(blob, OIDs, &secblob)) {
1129 DEBUG(0,("pipe_spnego_auth_bind_negotiate: Failed to parse the security blob.\n"));
1146 data_blob_free(&blob);
1162 * Pass the first security blob of data to it.
1174 /* Generate the response blob we need for step 2 of the bind. */
1177 /* Copy the blob into the pout_auth parse struct */
1185 DEBUG(0,("pipe_spnego_auth_bind_negotiate: marshalling of data blob failed.\n"));
1193 data_blob_free(&blob);
1203 data_blob_free(&blob);
1237 /* Grab the SPNEGO blob. */
1247 DEBUG(0,("pipe_spnego_auth_bind_continue: invalid SPNEGO blob type.\n"));
1252 DEBUG(0,("pipe_spnego_auth_bind_continue: invalid SPNEGO blob.\n"));
1268 /* Generate the spnego "accept completed" blob - no incoming data. */
1271 /* Copy the blob into the pout_auth parse struct */
1279 DEBUG(0,("pipe_spnego_auth_bind_continue: marshalling of data blob failed.\n"));
1398 DATA_BLOB blob;
1403 ZERO_STRUCT(blob);
1406 /* Grab the NTLMSSP blob. */
1407 blob = data_blob(NULL,p->hdr.auth_len);
1409 if (!prs_copy_data_out((char *)blob.data, rpc_in_p, p->hdr.auth_len)) {
1415 if (strncmp((char *)blob.data, "NTLMSSP", 7) != 0) {
1416 DEBUG(0,("pipe_ntlmssp_auth_bind: Failed to read NTLMSSP in blob\n"));
1420 /* We have an NTLMSSP blob. */
1428 status = auth_ntlmssp_update(a, blob, &response);
1435 data_blob_free(&blob);
1437 /* Copy the blob into the pout_auth parse struct */
1445 DEBUG(0,("pipe_ntlmssp_auth_bind: marshalling of data blob failed.\n"));
1453 data_blob_free(&blob);
1463 data_blob_free(&blob);
1985 /* Pull the auth header and the following data into a blob. */