Searched defs:sid (Results 26 - 44 of 44) sorted by relevance

12

/osnet-11/usr/src/lib/libntsvcs/common/
H A Dlsar_svc.c46 char *sid; member in struct:local_group_table
654 info->sid = (struct mslsa_sid *)NDR_SIDDUP(mxa, di.di_binsid);
656 if ((rc == -1) || (info->sid == NULL))
686 info->sid = (struct mslsa_sid *)NDR_SIDDUP(mxa, di.di_binsid);
688 if ((rc == -1) || (info->sid == NULL))
774 * This is the service side function for handling sid lookup requests.
798 smb_sid_t *sid; local
824 sid = (smb_sid_t *)param->lup_sid_table.entries[i].psid;
826 result = lsa_lookup_sid(sid, &account);
830 smb_sid_tostr(sid, sidst
950 smb_sid_t *sid; local
[all...]
H A Dsamr_svc.c296 param->sid = (struct samr_sid *)NDR_SIDDUP(mxa, di.di_binsid);
297 if (param->sid == NULL) {
403 if (!smb_domain_lookup_sid((smb_sid_t *)param->sid, &domain)) {
725 smb_sid_t *sid; local
753 if ((sid = smb_sid_splice(di.di_binsid, data->kd_rid)) == NULL) {
758 if (smb_sam_lookup_sid(sid, &account) != NT_STATUS_SUCCESS) {
759 smb_sid_free(sid);
787 smb_sid_free(sid);
938 * The member is specified by the sid in the request.
951 if (param->sid
1433 smb_sid_t *sid; local
1604 smb_sid_t *sid; local
[all...]
/osnet-11/usr/src/lib/libsec/common/
H A Daclutils.c748 sid_to_id(char *sid, boolean_t user, uid_t *id) argument
757 if ((domain_start = strchr(sid, '@')) == NULL) {
760 if ((rid_start = strrchr(sid, '-')) == NULL)
770 sid, rid, IDMAP_REQ_FLG_USE_CACHE,
774 sid, rid, IDMAP_REQ_FLG_USE_CACHE,
794 char *name = sid;
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_mapping.c219 __s_api_parse_map(char *cp, char **sid, char **origA, char ***mapA) argument
224 *sid = NULL;
233 *sid = (char *)malloc(i);
234 if (*sid == NULL)
236 (void) strlcpy(*sid, sptr, i);
241 free(*sid);
242 *sid = NULL;
248 free(*sid);
249 *sid = NULL;
265 free(*sid);
[all...]
H A Dns_config.c1668 char *sid, *origA, **mapA; local
2347 i = __s_api_parse_map(cp, &sid, &origA, &mapA);
2376 rmap->service = strdup(sid);
2445 free(sid);
2479 map->service = strdup(sid);
2488 strdup(sid);
2552 free(sid);
2577 map->service = sid;
2633 free(sid);
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Ddir.c1103 SID *sid; local
1169 sid = (SID*)((u8*)sd + sizeof(SECURITY_DESCRIPTOR_ATTR));
1170 sd->owner = cpu_to_le32((u8*)sid - (u8*)sd);
1171 sid->revision = 1;
1172 sid->sub_authority_count = 2;
1173 sid->sub_authority[0] = cpu_to_le32(32);
1174 sid->sub_authority[1] = cpu_to_le32(544);
1175 sid->identifier_authority.value[5] = 5;
1176 sid = (SID*)((u8*)sid
[all...]
/osnet-11/usr/src/lib/libparted/common/libparted/labels/
H A Dpc98.c55 * id1(sid):
94 uint8_t sid; /* 0x80 - active */ member in struct:_PC98RawPartition
211 if (p->mid == 0 && p->sid == 0)
309 if (raw_part->mid || raw_part->sid
368 pc98_data->system = (raw_part->mid << 8) | raw_part->sid;
370 pc98_data->hidden = !GET_BIT(raw_part->sid, 7);
436 raw_part->sid = pc98_data->system & 0xFF;
439 SET_BIT(raw_part->sid, 7, !pc98_data->hidden);
/osnet-11/usr/src/lib/libsysevent/
H A Dlibevchannel.c220 uargs.sid.name = NULL;
221 uargs.sid.len = 0;
446 sysevent_evc_subscribe_cmn(evchan_t *scp, const char *sid, const char *class, argument
457 if (scp == NULL || misaligned(scp) || sid == NULL || class == NULL) {
466 if ((sid_len = strlen(sid) + 1) > MAX_SUBID_LEN || sid_len == 1 ||
472 if (!strisprint(sid)) {
488 if ((subp->evsub_sid = strdup(sid)) == NULL) {
539 uargs.sid.name = (uintptr_t)sid;
540 uargs.sid
571 sysevent_evc_subscribe(evchan_t *scp, const char *sid, const char *class, int (*event_handler)(sysevent_t *ev, void *cookie), void *cookie, uint32_t flags) argument
600 sysevent_evc_xsubscribe(evchan_t *scp, const char *sid, const char *class, int (*event_handler)(sysevent_t *ev, void *cookie), void *cookie, uint32_t flags, sysevent_subattr_t *attr) argument
686 sysevent_evc_unsubscribe(evchan_t *scp, const char *sid) argument
[all...]
/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_cfg.c1022 smb_config_getdomaininfo(char *nb_domain, char *ad_domain, char *sid, argument
1033 if (sid)
1034 (void) smb_config_getstr(SMB_CI_DOMAIN_SID, sid,
1047 smb_config_setdomaininfo(char *nb_domain, char *ad_domain, char *sid, argument
1056 if (sid)
1057 (void) smb_config_setstr(SMB_CI_DOMAIN_SID, sid);
H A Dsmb_domain.c454 smb_domain_lookup_sid(smb_sid_t *sid, smb_domain_t *di) argument
460 if (sid == NULL)
463 smb_sid_tostr(sid, sidstr);
613 smb_domain_set_basic_info(char *sid, char *nb_domain, char *fq_domain, argument
616 if (sid == NULL || nb_domain == NULL || fq_domain == NULL ||
620 (void) strlcpy(di->di_sid, sid, SMB_SID_STRSZ);
628 smb_domain_set_dns_info(char *sid, char *nb_domain, char *fq_domain, argument
634 smb_domain_set_basic_info(sid, nb_domain, fq_domain, di);
641 smb_domain_set_trust_info(char *sid, char *nb_domain, char *fq_domain, argument
652 smb_domain_set_basic_info(sid, nb_domai
[all...]
H A Dsmb_pwdutil.c947 smb_sid_t *sid; local
988 idm_stat = smb_idmap_getsid(smbpw.pw_uid, SMB_IDMAP_USER, &sid);
995 (void) smb_sid_getrid(sid, &user->su_rid);
996 smb_sid_free(sid);
H A Dsmb_lgrp.c274 smb_sid_t *sid = NULL; local
313 if (smb_idmap_getsid(pxgrp->gr_gid, SMB_IDMAP_GROUP, &sid)
319 if (!smb_sid_indomain(smb_localgrp.lg_machine_sid, sid)) {
320 free(sid);
325 free(sid);
337 if ((sid = smb_sid_fromstr(wka->wka_sid)) == NULL) {
342 (void) smb_sid_getrid(sid, &grp.sg_rid);
343 free(sid);
1029 smb_lgrp_is_member(smb_group_t *grp, smb_sid_t *sid) argument
1033 if (grp == NULL || grp->sg_members == NULL || sid
1912 smb_lgrp_dtbl_fuid(sqlite3 *db, smb_sid_t *sid, uint16_t sid_type, uint32_t *dom_idx, uint32_t *rid) argument
1978 smb_lgrp_dtbl_getsid(sqlite3 *db, uint32_t dom_idx, smb_sid_t **sid) argument
2490 smb_lgrp_getsid(int dom_idx, uint32_t *rid, uint16_t sid_type, sqlite3 *db, smb_sid_t **sid) argument
2558 smb_sid_t *sid; local
[all...]
/osnet-11/usr/src/lib/libadutils/common/
H A Dadutils.c208 sid2binsid(adutils_sid_t *sid, uchar_t *binsid, int binsidlen) argument
215 if (sid->version != 1 ||
216 binsidlen != (1 + 1 + 6 + sid->sub_authority_count * 4))
222 *p++ = sid->sub_authority_count;
224 a = sid->authority;
234 for (i = 0; i < sid->sub_authority_count; i++) {
235 r = sid->sub_authorities[i];
255 adutils_sid_t sid = { 0 }; local
283 sid.version = 1;
284 sid
360 adutils_sid_t sid; local
383 char *sid; local
883 adutils_add_domain(adutils_ad_t *ad, const char *domain, const char *sid) argument
944 adutils_lookup_check_sid_prefix(adutils_query_state_t *qs, const char *sid) argument
[all...]
H A Daddisc.c400 strcmp(df1[i].sid, df2[j].sid) == 0) {
1100 adutils_sid_t sid; local
1110 rc = adutils_getsid(sid_ber[0], &sid);
1115 if ((sid_str = adutils_sid2txt(&sid)) == NULL)
1118 (void) strcpy(domains[ndomains].sid, sid_str);
/osnet-11/usr/src/cmd/ntfsprogs/
H A Dntfsinfo.c879 char *sid; local
901 sid = ntfs_sid_to_mbs(&ace->sid, NULL, 0);
902 printf("%s\t\t SID: %s\n", prefix, sid);
903 free(sid);
915 char *sid; local
935 sid = ntfs_sid_to_mbs((SID *)((char *)sec_desc +
937 printf("%s\tOwner SID:\t\t %s\n", indent, sid);
938 free(sid);
943 sid
1358 char *sid; local
1526 char *sid; local
[all...]
/osnet-11/usr/src/lib/libbsm/common/
H A Dadt_token.c519 au_asid_t sid; local
535 sid = ((union convert *)p_data)->tuint32;
560 if (sid == 0)
561 sid = info.ap_asid;
567 au_to_process_ex(auid, euid, egid, ruid, rgid, pid, sid, tid));
H A Dau_to.c423 pid_t pid, au_asid_t sid, au_tid_t *tid)
448 adr_int32(&adr, (int32_t *)&sid, 1);
466 pid_t pid, au_asid_t sid, au_tid_addr_t *tid)
501 adr_int32(&adr, (int32_t *)&sid, 1);
547 pid_t pid, au_asid_t sid, au_tid_t *tid)
572 adr_int32(&adr, (int32_t *)&sid, 1);
591 pid_t pid, au_asid_t sid, au_tid_addr_t *tid)
629 adr_int32(&adr, (int32_t *)&sid, 1);
422 au_to_process(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid) argument
465 au_to_process_ex(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid) argument
546 au_to_subject(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid) argument
590 au_to_subject_ex(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid) argument
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dnew_host.c241 SC_GetTokenInfo(CK_SLOT_ID sid, CK_TOKEN_INFO_PTR pInfo) argument
252 if (sid != TPM_SLOTID)
267 CK_SLOT_ID sid,
284 if (sid != TPM_SLOTID) {
319 CK_SLOT_ID sid,
336 if (sid != TPM_SLOTID) {
364 CK_SLOT_ID sid,
378 if (sid != TPM_SLOTID) {
540 CK_SLOT_ID sid,
558 if (sid !
266 SC_GetMechanismList( CK_SLOT_ID sid, CK_MECHANISM_TYPE_PTR pMechList, CK_ULONG_PTR count) argument
318 SC_GetMechanismInfo( CK_SLOT_ID sid, CK_MECHANISM_TYPE type, CK_MECHANISM_INFO_PTR pInfo) argument
363 SC_InitToken( CK_SLOT_ID sid, CK_CHAR_PTR pPin, CK_ULONG ulPinLen, CK_CHAR_PTR pLabel) argument
539 SC_OpenSession( CK_SLOT_ID sid, CK_FLAGS flags, CK_SESSION_HANDLE_PTR phSession) argument
622 SC_CloseAllSessions(CK_SLOT_ID sid) argument
[all...]
/osnet-11/usr/src/lib/libntfs/common/include/ntfs/
H A Dlayout.h1813 /* 8*/ SID sid; /* The SID associated with the ACE. */ member in struct:__anon2087
1844 /* 44*/ SID sid; /* The SID associated with the ACE. */ member in struct:__anon2089
2171 /* 20*/ SECURITY_DESCRIPTOR_RELATIVE sid; /* The self-relative security member in struct:__anon2098
2519 SID sid; /* The SID of the user/object associated with member in struct:__anon2111
2660 SID sid; /* $O index in FILE_Extend/$Quota: member in union:__anon2118::__anon2121
2958 le32 sid_offset; /* Offset in bytes to the user's sid from start
2959 of this structure. Zero if no sid is

Completed in 165 milliseconds

12