Home
last modified time | relevance | path

Searched refs:user_name (Results 1 – 8 of 8) sorted by relevance

/fs/cifs/
Dcifs_spnego.c120 if (sesInfo->user_name) in cifs_get_spnego_key()
121 desc_len += USER_KEY_LEN + strlen(sesInfo->user_name); in cifs_get_spnego_key()
163 if (sesInfo->user_name) { in cifs_get_spnego_key()
165 sprintf(dp, ";user=%s", sesInfo->user_name); in cifs_get_spnego_key()
Dsess.c214 vol.username = ses->user_name; in cifs_ses_add_channel()
419 if (ses->user_name == NULL) { in unicode_ssetup_strings()
424 bytes_ret = cifs_strtoUTF16((__le16 *) bcc_ptr, ses->user_name, in unicode_ssetup_strings()
445 if (ses->user_name != NULL) { in ascii_ssetup_strings()
446 len = strscpy(bcc_ptr, ses->user_name, CIFS_MAX_USERNAME_LEN); in ascii_ssetup_strings()
663 if (ses->user_name) in size_of_ntlmssp_blob()
664 sz += 2 * strnlen(ses->user_name, CIFS_MAX_USERNAME_LEN); in size_of_ntlmssp_blob()
719 if (ses->user_name != NULL) { in build_ntlmssp_auth_blob()
752 if (ses->user_name == NULL) { in build_ntlmssp_auth_blob()
759 len = cifs_strtoUTF16((__le16 *)tmp, ses->user_name, in build_ntlmssp_auth_blob()
[all …]
Dcifsencrypt.c528 len = ses->user_name ? strlen(ses->user_name) : 0; in calc_ntlmv2_hash()
536 len = cifs_strtoUTF16(user, ses->user_name, len, nls_cp); in calc_ntlmv2_hash()
Dcifsfs.c407 if (ses->user_name == NULL) in cifs_show_security()
494 else if (tcon->ses->user_name) in cifs_show_options()
495 seq_show_option(s, "username", tcon->ses->user_name); in cifs_show_options()
Dmisc.c107 kfree(buf_to_free->user_name); in sesInfoFree()
Dconnect.c2700 if (ses->user_name == NULL) { in match_session()
2707 if (strncmp(ses->user_name, in match_session()
3098 ses->user_name = kstrdup(volume_info->username, GFP_KERNEL); in cifs_get_smb_ses()
3099 if (!ses->user_name) in cifs_get_smb_ses()
Dcifsglob.h995 char *user_name; /* must not be null except during init of sess member
Dsmb2pdu.c1031 if (tcon->ses->user_name == NULL) { in smb3_validate_negotiate()
1777 ((ses->user_name != NULL) || (ses->sectype == Kerberos))) in SMB2_tcon()