Lines Matching refs:token
538 smb_token_t *token = NULL;
550 token = smbd_user_auth_logon(&user_info);
552 if (token == NULL)
555 ctx->ctx_token = token;
605 * Parse the SPNEGO token, check its type.
616 smbd_report("authsvc: spnego get token type failed");
621 smbd_report("authsvc: spnego wrong token type %d",
630 * interface to walk the token's mech list, so we have to
632 * was earliest in the token's mech list.
708 * Parse the SPNEGO token, check its type.
742 * Extract the payload (mech token).
761 * Now that we have the incoming "body" (mech. token),
763 * create the outgoing "body" (mech. token).
776 * Wrap the outgoing body in a negTokenTarg SPNEGO token.
778 * incoming token was of type SPNEGO_TOKEN_INIT.
815 * Convert the SPNEGO token into binary form,
881 * After a successful authentication, request the access token.
887 smb_token_t *token = NULL;
891 if ((token = ctx->ctx_token) == NULL)
895 * Encode the token response
897 len = xdr_sizeof(smb_token_xdr, token);
908 if (!smb_token_xdr(&xdrs, token))
933 * Build the SPNEGO "hint" token based on the