Home
last modified time | relevance | path

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

/titanic_44/usr/src/common/smbsrv/
H A Dsmb_sid.c104 smb_sid_splice(smb_sid_t *domain_sid, uint32_t rid) in smb_sid_splice() argument
109 if (domain_sid == NULL) in smb_sid_splice()
112 size = smb_sid_len(domain_sid); in smb_sid_splice()
116 bcopy(domain_sid, sid, size); in smb_sid_splice()
118 sid->sid_subauth[domain_sid->sid_subauthcnt] = rid; in smb_sid_splice()
242 smb_sid_indomain(smb_sid_t *domain_sid, smb_sid_t *sid) in smb_sid_indomain() argument
246 if (sid == NULL || domain_sid == NULL) in smb_sid_indomain()
249 if (domain_sid->sid_revision != sid->sid_revision || in smb_sid_indomain()
250 sid->sid_subauthcnt < domain_sid->sid_subauthcnt) in smb_sid_indomain()
253 for (i = domain_sid->sid_subauthcnt - 1; i >= 0; --i) in smb_sid_indomain()
[all …]
/titanic_44/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsamlib.c169 struct samr_sid *domain_sid; in sam_lookup_name() local
184 domain_sid = (struct samr_sid *)samr_lookup_domain(&samr_handle, in sam_lookup_name()
186 if (domain_sid == NULL) { in sam_lookup_name()
192 domain_sid, &domain_handle); in sam_lookup_name()
H A Dlsar_svc.c755 domain_entry->domain_sid = in lsarpc_s_LookupNames()
758 if (rc == -1 || domain_entry->domain_sid == NULL) { in lsarpc_s_LookupNames()
912 if (smb_sid_cmp((smb_sid_t *)dentry[i].domain_sid, in lsarpc_s_UpdateDomainTable()
924 dentry[i].domain_sid = in lsarpc_s_UpdateDomainTable()
927 if (rc == -1 || dentry[i].domain_sid == NULL) in lsarpc_s_UpdateDomainTable()
1112 domain_entry->domain_sid = in lsarpc_s_LookupNames2()
1115 if (rc == -1 || domain_entry->domain_sid == NULL) { in lsarpc_s_LookupNames2()
1197 domain_entry->domain_sid = in lsarpc_s_LookupNames3()
1200 if (rc == -1 || domain_entry->domain_sid == NULL) { in lsarpc_s_LookupNames3()
H A Dnetr_logon.c675 smb_sid_t *domain_sid; in netr_setup_domain_groups() local
689 domain_sid = (smb_sid_t *)info3->LogonDomainId; in netr_setup_domain_groups()
693 ids->i_sid = smb_sid_splice(domain_sid, info3->GroupIds[i].rid); in netr_setup_domain_groups()
704 ids->i_sid = smb_sid_splice(domain_sid, info3->PrimaryGroupId); in netr_setup_domain_groups()
H A Dlsar_clnt.c523 info->a_domsid = smb_sid_dup((smb_sid_t *)domain_entry->domain_sid); in lsar_lookup_names1()
578 info->a_domsid = smb_sid_dup((smb_sid_t *)domain_entry->domain_sid); in lsar_lookup_names2()
633 info->a_domsid = smb_sid_dup((smb_sid_t *)domain_entry->domain_sid); in lsar_lookup_names3()
697 info->a_domsid = smb_sid_dup((smb_sid_t *)domain_entry->domain_sid); in lsar_lookup_names4()
799 account->a_domsid = smb_sid_dup((smb_sid_t *)domain_entry->domain_sid); in lsar_lookup_sids1()
860 account->a_domsid = smb_sid_dup((smb_sid_t *)domain_entry->domain_sid); in lsar_lookup_sids2()
930 account->a_domsid = smb_sid_dup((smb_sid_t *)domain_entry->domain_sid); in lsar_lookup_sids3()
/titanic_44/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netlogon.c350 smb_sid_t *domain_sid) in smb_netlogon_samlogon() argument
374 domain_sid_len = smb_sid_len(domain_sid); in smb_netlogon_samlogon()
414 domain_sid_len, domain_sid, /* DomainSid */ in smb_netlogon_samlogon()
/titanic_44/usr/src/lib/libadutils/common/
H A Dlibadutils.h155 const char *domain_sid);
/titanic_44/usr/src/uts/common/smbsrv/ndl/
H A Dlsarpc.ndl456 struct mslsa_sid *domain_sid;