/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | wksids.c | 288 find_wksid_by_sid(const char *sid, int rid, idmap_id_type type) argument 325 if (wksids[i].rid != rid) 368 * but for now the distinction is primarily that one takes {machinesid,rid} 387 unsigned long rid; local 405 rid = strtoul(sid + len + 1, &p, 10); 409 if (rid != wksids[i].rid)
|
H A D | idmap_lsa.c | 70 uint32_t rid, 84 (void) snprintf(sid, sizeof (sid), "%s-%u", sidprefix, rid); 68 lookup_lsa_by_sid( const char *sidprefix, uint32_t rid, char **ret_name, char **ret_domain, idmap_id_type *ret_type) argument
|
H A D | directory_provider_nsswitch.c | 48 unsigned int rid); 117 uint32_t rid = local 122 if (rid < LOCALRID_UID_MIN) { 127 if (rid <= LOCALRID_UID_MAX) { 130 pwd = getpwuid(rid - LOCALRID_UID_MIN); 144 } else if (rid >= LOCALRID_GID_MIN && 145 rid <= LOCALRID_GID_MAX) { 148 grp = getgrgid(rid - LOCALRID_GID_MIN); 441 machine_sid_dav(directory_values_rpc *lvals, unsigned int rid) argument 450 _idmapdstate.cfg->pgcfg.machine_sid, rid); [all...] |
H A D | adutils.c | 85 rid_t *rid; /* RID */ member in struct:idmap_q 258 rid_t rid, 302 if (q->rid) 303 *q->rid = rid; 395 rid_t rid = 0; local 488 sid = adutils_bv_objsid2sidstr(bvalues[0], &rid); 495 sid, rid, sid_type, 592 char **sid, rid_t *rid, idmap_id_type *sid_type, char **unixname, 618 q->rid 251 idmap_setqresults( idmap_q_t *q, char *san, const char *dn, const char *attr, char *value, char *sid, rid_t rid, int sid_type, char *unixname, posix_id_t pid) argument 588 idmap_batch_add1(idmap_query_state_t *state, const char *filter, char *ecanonname, char *edomain, idmap_id_type esidtype, char **dn, char **attr, char **value, char **canonname, char **dname, char **sid, rid_t *rid, idmap_id_type *sid_type, char **unixname, posix_id_t *pid, idmap_retcode *rc) argument 695 idmap_name2sid_batch_add1(idmap_query_state_t *state, const char *name, const char *dname, idmap_id_type esidtype, char **dn, char **attr, char **value, char **canonname, char **sid, rid_t *rid, idmap_id_type *sid_type, char **unixname, posix_id_t *pid, idmap_retcode *rc) argument 768 idmap_sid2name_batch_add1(idmap_query_state_t *state, const char *sid, const rid_t *rid, idmap_id_type esidtype, char **dn, char **attr, char **value, char **name, char **dname, idmap_id_type *sid_type, char **unixname, posix_id_t *pid, idmap_retcode *rc) argument 809 idmap_unixname2sid_batch_add1(idmap_query_state_t *state, const char *unixname, int is_user, int is_wuser, char **dn, char **attr, char **value, char **sid, rid_t *rid, char **name, char **dname, idmap_id_type *sid_type, idmap_retcode *rc) argument 858 idmap_pid2sid_batch_add1(idmap_query_state_t *state, posix_id_t pid, int is_user, char **dn, char **attr, char **value, char **sid, rid_t *rid, char **name, char **dname, idmap_id_type *sid_type, idmap_retcode *rc) argument [all...] |
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | cancel.c | 55 int32_t rid = -1; local 59 "job-id-requested", &rid); 61 return (rid); 114 int32_t rid = -1; local 173 rid = job_to_be_queried(svc, printer, id); 174 if (rid < 0) { 184 status = papiJobCancel(svc, printer, rid); 232 rid = get_job_id_requested(*jobs); 233 if (rid >= 0) 235 printer, rid, mes [all...] |
H A D | in.lpd.c | 370 submit_job(papi_service_t svc, FILE *ifp, char *printer, int rid, char *cf, argument 387 if (rid >= 0) { 389 "job-id-requested", rid); 494 int rid = 0; local 514 rid = atoi(cf); 521 status = submit_job(svc, ifp, printer, rid, cf, 544 status = submit_job(svc, ifp, printer, rid, cf, files);
|
H A D | common.c | 264 int rid = -1; local 272 "job-id-requested", &rid); 278 (match_job(rid, user, ac, av) < 0)) 285 if (rid != -1) { 286 if (match_job_rid(rid, ac, av) == -1) 295 if (rid != -1) 296 fprintf(fp, "%s-%d: %s\n", printer, rid, mesg); 640 int32_t rid = -1; local 646 "job-id-requested", &rid); 651 * check if id matches with either rid o [all...] |
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | mlsvc_util.c | 314 DWORD rid; local 337 account_flags, &rid, &user_handle);
|
H A D | samr_clnt.c | 373 samr_open_user(mlsvc_handle_t *domain_handle, DWORD access_mask, DWORD rid, argument 388 arg.rid = rid; 454 DWORD rid, 469 arg.rid = rid; 508 DWORD account_flags, DWORD *rid, mlsvc_handle_t *user_handle) 517 username == NULL || rid == NULL) { 549 *rid = arg.rid; 452 samr_open_group( mlsvc_handle_t *domain_handle, DWORD rid, mlsvc_handle_t *group_handle) argument 507 samr_create_user(mlsvc_handle_t *domain_handle, char *username, DWORD account_flags, DWORD *rid, mlsvc_handle_t *user_handle) argument [all...] |
/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | idmap_impl.h | 68 idmap_rid_t *rid; member in struct:idmap_get_res
|
H A D | idmap_cache.c | 95 idmap_rid_t rid; member in struct:sid2uid_gid 110 idmap_rid_t rid; member in struct:pid2sid_winname 198 int64_t comp = ((int64_t)entry2->rid) - ((int64_t)entry1->rid); 478 idmap_rid_t rid, uid_t *uid) 487 entry.rid = rid; 509 idmap_rid_t rid, gid_t *gid) 518 entry.rid = rid; 477 idmap_cache_lookup_uidbysid(const char *sid_prefix, idmap_rid_t rid, uid_t *uid) argument 508 idmap_cache_lookup_gidbysid(const char *sid_prefix, idmap_rid_t rid, gid_t *gid) argument 540 idmap_cache_lookup_pidbysid(const char *sid_prefix, idmap_rid_t rid, uid_t *pid, int *is_user) argument 577 idmap_cache_lookup_sidbyuid(char **sid_prefix, idmap_rid_t *rid, uid_t uid) argument 609 idmap_cache_lookup_sidbygid(char **sid_prefix, idmap_rid_t *rid, gid_t gid) argument 792 idmap_cache_add_sid2uid(const char *sid_prefix, idmap_rid_t rid, uid_t uid, int direction) argument 905 idmap_cache_add_sid2gid(const char *sid_prefix, idmap_rid_t rid, gid_t gid, int direction) argument 1015 idmap_cache_add_sid2pid(const char *sid_prefix, idmap_rid_t rid, uid_t pid, int is_user, int direction) argument [all...] |
/illumos-gate/usr/src/uts/common/idmap/ |
H A D | kidmap_priv.h | 46 uint32_t rid; member in struct:sid2pid 60 uint32_t rid; member in struct:pid2sid 111 uint32_t rid, uid_t *uid); 115 uint32_t rid, gid_t *gid); 119 uint32_t rid, uid_t *pid, int *is_user); 123 uint32_t *rid, uid_t uid); 127 uint32_t *rid, gid_t gid); 132 uint32_t rid, uid_t uid, int direction); 136 uint32_t rid, gid_t gid, int direction); 140 uint32_t rid, uid_ [all...] |
H A D | idmap_cache.c | 137 int64_t comp = ((int64_t)entry2->rid) - ((int64_t)entry1->rid); 321 uint32_t rid, uid_t *uid) 330 entry.rid = rid; 351 uint32_t rid, gid_t *gid) 360 entry.rid = rid; 381 uint32_t rid, uid_t *pid, int *is_user) 390 entry.rid 320 kidmap_cache_lookup_uidbysid(idmap_cache_t *cache, const char *sid_prefix, uint32_t rid, uid_t *uid) argument 350 kidmap_cache_lookup_gidbysid(idmap_cache_t *cache, const char *sid_prefix, uint32_t rid, gid_t *gid) argument 380 kidmap_cache_lookup_pidbysid(idmap_cache_t *cache, const char *sid_prefix, uint32_t rid, uid_t *pid, int *is_user) argument 418 kidmap_cache_lookup_sidbyuid(idmap_cache_t *cache, const char **sid_prefix, uint32_t *rid, uid_t uid) argument 448 kidmap_cache_lookup_sidbygid(idmap_cache_t *cache, const char **sid_prefix, uint32_t *rid, gid_t gid) argument 478 kidmap_cache_add_sid2uid(idmap_cache_t *cache, const char *sid_prefix, uint32_t rid, uid_t uid, int direction) argument 568 kidmap_cache_add_sid2gid(idmap_cache_t *cache, const char *sid_prefix, uint32_t rid, gid_t gid, int direction) argument 656 kidmap_cache_add_sid2pid(idmap_cache_t *cache, const char *sid_prefix, uint32_t rid, uid_t pid, int is_user, int direction) argument [all...] |
H A D | idmap_kapi.c | 72 uint32_t *rid; member in struct:idmap_get_res 416 * rid - RID 425 kidmap_getuidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid, argument 441 if (kidmap_cache_lookup_uidbysid(&zs->cache, sid_prefix, rid, uid) 448 mapping.id1.idmap_id_u.sid.rid = rid; 471 new_sid_prefix, rid, *uid, 493 * rid - RID 502 kidmap_getgidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid, argument 518 if (kidmap_cache_lookup_gidbysid(&zs->cache, sid_prefix, rid, gi 579 kidmap_getpidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid, uid_t *pid, int *is_user) argument 667 kidmap_getsidbyuid(zone_t *zone, uid_t uid, const char **sid_prefix, uint32_t *rid) argument 751 kidmap_getsidbygid(zone_t *zone, gid_t gid, const char **sid_prefix, uint32_t *rid) argument 898 kidmap_batch_getuidbysid(idmap_get_handle_t *get_handle, const char *sid_prefix, uint32_t rid, uid_t *uid, idmap_stat *stat) argument 959 kidmap_batch_getgidbysid(idmap_get_handle_t *get_handle, const char *sid_prefix, uint32_t rid, uid_t *gid, idmap_stat *stat) argument 1022 kidmap_batch_getpidbysid(idmap_get_handle_t *get_handle, const char *sid_prefix, uint32_t rid, uid_t *pid, int *is_user, idmap_stat *stat) argument 1081 kidmap_batch_getsidbyuid(idmap_get_handle_t *get_handle, uid_t uid, const char **sid_prefix, uint32_t *rid, idmap_stat *stat) argument 1136 kidmap_batch_getsidbygid(idmap_get_handle_t *get_handle, gid_t gid, const char **sid_prefix, uint32_t *rid, idmap_stat *stat) argument [all...] |
/illumos-gate/usr/src/common/smbsrv/ |
H A D | smb_sid.c | 99 * Make a full sid from a domain sid and a relative id (rid). 104 smb_sid_splice(smb_sid_t *domain_sid, uint32_t rid) argument 113 if ((sid = smb_sid_alloc(size + sizeof (rid))) == NULL) 118 sid->sid_subauth[domain_sid->sid_subauthcnt] = rid; 132 smb_sid_getrid(smb_sid_t *sid, uint32_t *rid) argument 134 if (!smb_sid_isvalid(sid) || (rid == NULL) || 138 *rid = sid->sid_subauth[sid->sid_subauthcnt - 1]; 145 * Take a full sid and split it into a domain sid and a relative id (rid). 147 * RID value is passed back in 'rid' arg if it's not NULL. The allocated 151 smb_sid_split(smb_sid_t *sid, uint32_t *rid) argument 186 smb_sid_splitstr(char *strsid, uint32_t *rid) argument [all...] |
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_sam.c | 215 uint32_t rid; local 266 (void) smb_sid_getrid(sid, &rid); 267 rc = smb_lgrp_getbyrid(rid, SMB_DOMAIN_LOCAL, &grp); 561 uint32_t rid; local 564 (void) smb_sid_getrid(sid, &rid); 565 if (rid > 999) 569 if (rid == lwka_tbl[i].lwka_rid)
|
/illumos-gate/usr/src/lib/nsswitch/ad/common/ |
H A D | getpwnam.c | 213 /* Break SID into prefix and rid */ 394 idmap_rid_t rid; local 413 1, NULL, &sidprefix, &rid, &winname, &windomain, 428 if (adutils_txtsid2hexbinsid(sidprefix, &rid,
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_tab.c | 507 mdb_ctf_id_t rid; local 523 if (mdb_ctf_type_resolve(id, &rid) != 0) 526 rkind = mdb_ctf_type_kind(rid);
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | disp1.c | 731 char *req_id, *rid; local 737 if ((rid = _cancel(md, "", "", req_id)) != NULL) 738 Free(rid); 754 char *rid; local 769 if (rid = _cancel(md, destination, user, req_id)) { 774 mputm(md, R_CANCEL, MOKMORE, oerrno, rid); 775 Free(rid); 776 rid = nrid; 779 mputm(md, R_CANCEL, MOK, oerrno, rid); 780 Free(rid); [all...] |
/illumos-gate/usr/src/cmd/format/ |
H A D | label.c | 501 get_disk_inquiry_prop(char *devpath, char **vid, char **pid, char **rid) argument 526 *rid = strdup(r); 528 if (*vid == NULL || *pid == NULL || *rid == NULL) { 531 free(*rid); 543 get_disk_inquiry_uscsi(int fd, char **vid, char **pid, char **rid) argument 552 *rid = strndup(inquiry.inq_revision, 4); 554 if (*vid == NULL || *pid == NULL || *rid == NULL) { 557 free(*rid); 589 get_disk_inquiry_devid(int fd, char **vid, char **pid, char **rid) argument 620 *rid [all...] |
/illumos-gate/usr/src/lib/libsec/common/ |
H A D | aclutils.c | 758 idmap_rid_t rid; local 764 rid = strtoul(rid_start--, &end, 10); 770 sid, rid, IDMAP_REQ_FLG_USE_CACHE, 774 sid, rid, IDMAP_REQ_FLG_USE_CACHE,
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | leaky_subr.c | 326 mdb_ctf_id_t id, rid; local 357 mdb_ctf_type_resolve(id, &rid) == -1 || 358 (hwpm_size = mdb_ctf_type_size(rid)) < 0) {
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_fuid.c | 427 zfs_fuid_node_add(zfs_fuid_info_t **fuidpp, const char *domain, uint32_t rid, argument 473 fuid->z_logfuid = FUID_ENCODE(fuididx, rid); 479 fuidp->z_fuid_owner = FUID_ENCODE(fuididx, rid); 481 fuidp->z_fuid_group = FUID_ENCODE(fuididx, rid); 499 uint32_t rid; local 528 rid = ksid_getrid(ksid); 533 zfs_fuid_node_add(fuidp, kdomain, rid, idx, id, type); 535 return (FUID_ENCODE(idx, rid)); 542 * we can't find the domain + rid information in the 544 * domain and rid 557 uint32_t rid; local 710 uint32_t rid = FUID_RID(id); local [all...] |
/illumos-gate/usr/src/uts/common/io/lvm/stripe/ |
H A D | stripe_ioctl.c | 144 int rid; local 219 rid = 0; 225 recids[rid++] = ms_recid; 247 recids[rid] = 0; 250 &recids[rid++], NULL, NULL, NULL); 279 recids[rid++] = MD_RECID(comp_un); 286 recids[rid] = 0; 420 int rid; local 531 rid = 0; 537 recids[rid [all...] |
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px_fm.c | 402 px_err_fabric_intr(px_t *px_p, msgcode_t msg_code, pcie_req_id_t rid) argument 424 ce_source = rid; 429 ue_source = rid; 450 /* Ensure that the rid of the fabric message will get scanned. */ 451 pfd_p = px_rp_en_q(px_p, rid, NULL, NULL);
|