Lines Matching refs:blob
427 Send a extended security session setup blob
430 static BOOL cli_session_setup_blob_send(struct cli_state *cli, DATA_BLOB blob)
450 SSVAL(cli->outbuf,smb_vwv7,blob.length);
453 memcpy(p, blob.data, blob.length);
454 p += blob.length;
462 Send a extended security session setup blob, returning a reply blob.
501 Send a extended security session setup blob, returning a reply blob.
504 static DATA_BLOB cli_session_setup_blob(struct cli_state *cli, DATA_BLOB blob)
507 if (!cli_session_setup_blob_send(cli, blob)) {
551 /* we don't need this blob for kerberos */
580 DATA_BLOB blob = data_blob(NULL, 0);
613 /* now send that blob on its way */
615 DEBUG(3, ("Failed to send NTLMSSP/SPNEGO blob to server!\n"));
620 blob = cli_session_setup_blob_receive(cli);
633 if (!blob.length) {
641 if (!spnego_parse_challenge(blob, &blob_in,
648 if (!spnego_parse_auth_response(blob, nt_status,
656 data_blob_free(&blob);
706 DATA_BLOB blob;
708 DEBUG(3,("Doing spnego session setup (blob length=%lu)\n", (unsigned long)cli->secblob.length));
721 blob = data_blob(cli->secblob.data+16, cli->secblob.length-16);
725 if (!spnego_parse_negTokenInit(blob, OIDs, &principal)) {
726 data_blob_free(&blob);
729 data_blob_free(&blob);