Home
last modified time | relevance | path

Searched refs:domainName (Results 1 – 7 of 7) sorted by relevance

/fs/cifs/
Dcifsencrypt.c266 if (!ses->domainName) { in build_avpair_blob()
267 ses->domainName = kstrdup(defdmname, GFP_KERNEL); in build_avpair_blob()
268 if (!ses->domainName) in build_avpair_blob()
272 dlen = strlen(ses->domainName); in build_avpair_blob()
297 cifs_strtoUTF16((__le16 *)blobptr, ses->domainName, dlen, nls_cp); in build_avpair_blob()
341 if (!ses->domainName) { in find_domain_name()
342 ses->domainName = in find_domain_name()
344 if (!ses->domainName) in find_domain_name()
346 cifs_from_utf16(ses->domainName, in find_domain_name()
457 if (ses->domainName) { in calc_ntlmv2_hash()
[all …]
Dsess.c225 ctx.domainname = ses->domainName; in cifs_ses_add_channel()
402 if (ses->domainName == NULL) { in unicode_domain_string()
409 bytes_ret = cifs_strtoUTF16((__le16 *) bcc_ptr, ses->domainName, in unicode_domain_string()
470 if (ses->domainName != NULL) { in ascii_ssetup_strings()
471 len = strscpy(bcc_ptr, ses->domainName, CIFS_MAX_DOMAINNAME_LEN); in ascii_ssetup_strings()
672 if (ses->domainName) in size_of_ntlmssp_blob()
673 sz += 2 * strnlen(ses->domainName, CIFS_MAX_DOMAINNAME_LEN); in size_of_ntlmssp_blob()
750 if (ses->domainName == NULL) { in build_ntlmssp_auth_blob()
757 len = cifs_strtoUTF16((__le16 *)tmp, ses->domainName, in build_ntlmssp_auth_blob()
Dcifs_swn.c62 if (tcon->ses->domainName != NULL) { in cifs_swn_auth_info_ntlm()
63 ret = nla_put_string(skb, CIFS_GENL_ATTR_SWN_DOMAIN_NAME, tcon->ses->domainName); in cifs_swn_auth_info_ntlm()
Dcifsfs.c533 if (tcon->ses->domainName && tcon->ses->domainName[0] != 0) in cifs_show_options()
534 seq_show_option(s, "domain", tcon->ses->domainName); in cifs_show_options()
Dconnect.c1843 if (!ses->domainName) { in cifs_set_cifscreds()
1850 sprintf(desc, "cifs:d:%s", ses->domainName); in cifs_set_cifscreds()
1919 if (is_domain && ses->domainName) { in cifs_set_cifscreds()
1920 ctx->domainname = kstrdup(ses->domainName, GFP_KERNEL); in cifs_set_cifscreds()
2031 ses->domainName = kstrdup(ctx->domainname, GFP_KERNEL); in cifs_get_smb_ses()
2032 if (!ses->domainName) in cifs_get_smb_ses()
Dmisc.c97 kfree(buf_to_free->domainName); in sesInfoFree()
Dcifsglob.h926 char *domainName; member