Home
last modified time | relevance | path

Searched refs:smb_strcasecmp (Results 1 – 25 of 30) sorted by relevance

12

/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_native.c110 if (smb_strcasecmp(name, native_os, len) == 0) in smbnative_os_value()
164 if ((smb_strcasecmp(name, native_lm, len) == 0) || in smbnative_lm_value()
165 (smb_strcasecmp(&name[1], native_lm, len - 1) == 0)) { in smbnative_lm_value()
214 if ((smb_strcasecmp(name, native_lm, len) == 0) || in smbnative_pdc_value()
215 (smb_strcasecmp(&name[1], native_lm, len - 1) == 0)) { in smbnative_pdc_value()
H A Dsmb_match.c98 rc = smb_strcasecmp(p, s, 0); in smb_match()
H A Dsmb_string.c337 smb_strcasecmp(const char *s1, const char *s2, size_t n) in smb_strcasecmp() function
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_wksids.c198 if (!smb_strcasecmp(name, entry->wka_name, 0)) in smb_wka_lookup_name()
220 if (!smb_strcasecmp(name, entry->wka_name, 0)) in smb_wka_lookup_builtin()
H A Dsmb_sam.c115 if (smb_strcasecmp(domain, di.di_nbname, 0) != 0) in smb_sam_lookup_name()
122 if (smb_strcasecmp(name, di.di_nbname, 0) == 0) { in smb_sam_lookup_name()
556 if (smb_strcasecmp(name, lwka_tbl[i].lwka_name, 0) == 0) in smb_lwka_lookup_name()
H A Dsmb_domain.c187 found = (smb_strcasecmp(dcnode->di_nbname, name, 0) == 0) || in smb_domain_lookup_name()
188 (smb_strcasecmp(dcnode->di_fqname, name, 0) == 0); in smb_domain_lookup_name()
198 found = (smb_strcasecmp(dcnode->di_fqname, name, in smb_domain_lookup_name()
H A Dsmb_privilege.c164 if (smb_strcasecmp(name, entry->name, 0) == 0) in smb_priv_getbyname()
H A Dsmb_util.c952 if (smb_strcasecmp(name, netbiosname, 0) == 0) in smb_name_validate_nbdomain()
996 if (smb_strcasecmp(workgroup, netbiosname, 0) == 0) in smb_name_validate_workgroup()
H A Dmapfile-vers388 smb_strcasecmp;
H A Dsmb_lgrp.c383 if (smb_strcasecmp(gname, new_gname, 0) == 0) in smb_lgrp_rename()
2399 if (smb_strcasecmp(grp->sg_name, "Administrators", 0) == 0) { in smb_lgrp_set_default_privs()
2406 if (smb_strcasecmp(grp->sg_name, "Backup Operators", 0) == 0) { in smb_lgrp_set_default_privs()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_mangle_name.c129 if (smb_strcasecmp(reserved[i], name, len) == 0) { in smb_is_reserved_dos_name()
439 if (smb_strcasecmp(name, shortname, 0) == 0) { in smb_unmangle()
H A Dsmb_cmn_rename.c206 (smb_strcasecmp(src_fnode->od_name, in smb_common_rename()
213 if (smb_strcasecmp(src_fnode->od_name, in smb_common_rename()
493 (smb_strcasecmp(src_fqi->fq_fnode->od_name, in smb_make_link()
H A Dsmb_user.c618 if (smb_strcasecmp(name, user->u_name, 0) == 0) in smb_user_namecmp()
626 match = (smb_strcasecmp(name, fq_name, 0) == 0); in smb_user_namecmp()
631 match = (smb_strcasecmp(name, fq_name, 0) == 0); in smb_user_namecmp()
H A Dsmb_dfs.c369 if ((smb_strcasecmp(unc.unc_share, "SYSVOL", 0) == 0) || in smb_dfs_get_reftype()
370 (smb_strcasecmp(unc.unc_share, "NETLOGON", 0) == 0)) { in smb_dfs_get_reftype()
H A Dsmb_session.c1159 if (smb_strcasecmp(tree->t_sharename, sharename, 0) != 0) in smb_session_disconnect_share()
1308 if (smb_strcasecmp(client, sn->workstation, 0) == 0) in smb_session_isclient()
1311 if (smb_strcasecmp(client, sn->ip_addr_str, 0) == 0) in smb_session_isclient()
H A Dsmb_pathname.c985 if (smb_strcasecmp(p, name, strlen(name)) != 0) in smb_pathname_preprocess_quota()
1335 if (smb_strcasecmp(unc.unc_share, sr->tid_tree->t_sharename, 0)) { in smb_pathname_dfs_preprocess()
H A Dsmb_opipe.c137 if (smb_strcasecmp(name, "PIPE", 4) == 0) { in smb_opipe_connect()
H A Dsmb2_durable.c565 if (smb_strcasecmp(s, tree->t_sharename, 0) != 0) { in smb2_dh_import_handle()
1374 if (smb_strcasecmp(fname, of->f_node->od_name, 0) != 0) { in smb2_dh_reconnect_checks()
H A Dsmb_common_transact.c1371 if (smb_strcasecmp(si->skc_nbdomain, (char *)domain, 0) != 0) { in smb_trans_net_server_enum2()
1413 if (smb_strcasecmp(mailslot, mailslots[i], 0) == 0) in is_supported_mailslot()
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dmlsvc_domain.c510 use = (smb_strcasecmp(dinfo->di_fqname, domain, 0) == 0); in smb_ddiscover_use_config()
512 use = (smb_strcasecmp(dinfo->di_nbname, domain, 0) == 0); in smb_ddiscover_use_config()
H A Ddfs.c328 if (smb_strcasecmp(dfs_cached_ns, rootshr, 0) == 0) { in dfs_namespace_add()
1136 iscached = (smb_strcasecmp(name, dfs_cached_ns, 0) == 0); in dfs_namespace_iscached()
1621 if ((smb_strcasecmp(t->t_server, server, 0) == 0) && in dfs_target_find()
1622 (smb_strcasecmp(t->t_share, share, 0) == 0)) in dfs_target_find()
1651 rc = smb_strcasecmp(dn1->nsc_uncpath, dn2->nsc_uncpath, 0); in dfs_cache_cmp()
1743 if (smb_strcasecmp(name, dfs_cached_ns, 0) != 0) { in dfs_cache_flush()
H A Dlsalib.c362 if ((domain != NULL) && (smb_strcasecmp(domain, wkadom, 0) != 0)) in lsa_lookup_name_builtin()
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dstring.h127 int smb_strcasecmp(const char *, const char *, size_t);
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netlogon.c95 if (smb_strcasecmp(di.di_nbname, domain, 0) == 0) { in smb_netlogon_request()
H A Dsmbns_ads.c337 if (smb_strcasecmp(cached_host_domain, current_domain, 0)) in smb_ads_is_same_domain()
850 if (smb_strcasecmp(container + offset, in smb_ads_get_sharedn()

12