/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fksmb_idmap.c | 113 smb_idmap_t *sim; local 120 sim = &sib.sib_maps[0]; 121 sim->sim_id = id; 122 stat = smb_idmap_batch_getid(sib.sib_idmaph, sim, sid, *id_type); 135 *id_type = sim->sim_idtype; 214 * sim->sim_id should point to variable that's supposed to 218 * if it's unknown it'll be returned in sim->sim_idtype. 221 smb_idmap_batch_getid(idmap_get_handle_t *idmaph, smb_idmap_t *sim, argument 228 if (idmaph == NULL || sim == NULL || sid == NULL) 232 if (smb_sid_splitstr(sidstr, &sim 278 smb_idmap_batch_getsid(idmap_get_handle_t *idmaph, smb_idmap_t *sim, uid_t id, int idtype) argument 343 smb_idmap_t *sim; local 383 smb_idmap_t *sim; local [all...] |
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_idmap.c | 110 smb_idmap_t *sim; local 117 sim = &sib.sib_maps[0]; 118 sim->sim_id = id; 119 stat = smb_idmap_batch_getid(sib.sib_idmaph, sim, sid, *id_type); 132 *id_type = sim->sim_idtype; 213 * sim->sim_id should point to variable that's supposed to 217 * if it's unknown it'll be returned in sim->sim_idtype. 220 smb_idmap_batch_getid(idmap_get_handle_t *idmaph, smb_idmap_t *sim, argument 227 if (idmaph == NULL || sim == NULL || sid == NULL) 231 if (smb_sid_splitstr(sidstr, &sim 277 smb_idmap_batch_getsid(idmap_get_handle_t *idmaph, smb_idmap_t *sim, uid_t id, int idtype) argument 342 smb_idmap_t *sim; local 380 smb_idmap_t *sim; local [all...] |
H A D | smb_acl.c | 246 smb_idmap_t *sim; local 261 sim = sib.sib_maps; 264 zace++, numaces++, sim++) { 265 assert(sim->sim_sid); 266 if (sim->sim_sid == NULL) { 276 ace->se_sid = smb_sid_dup(sim->sim_sid); 307 smb_idmap_t *sim; local 334 sim = sib.sib_maps; 336 for (i = 0; i < acl->sl_acecnt; i++, zace++, ace++, sim++) { 345 sim 419 smb_idmap_t *sim; local [all...] |
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_idmap.c | 82 smb_idmap_t sim; local 86 sim.sim_stat = kidmap_getsidbyuid(global_zone, id, 87 (const char **)&sim.sim_domsid, &sim.sim_rid); 91 sim.sim_stat = kidmap_getsidbygid(global_zone, id, 92 (const char **)&sim.sim_domsid, &sim.sim_rid); 97 sim.sim_domsid = "S-1-1"; 98 sim.sim_rid = 0; 99 sim 134 smb_idmap_t sim; local 246 smb_idmap_batch_getid(idmap_get_handle_t *idmaph, smb_idmap_t *sim, smb_sid_t *sid, int idtype) argument 295 smb_idmap_batch_getsid(idmap_get_handle_t *idmaph, smb_idmap_t *sim, uid_t id, int idtype) argument 390 smb_idmap_t *sim; local [all...] |
H A D | smb_acl.c | 299 smb_idmap_t *sim; local 314 sim = sib.sib_maps; 317 zace++, numaces++, sim++) { 318 ASSERT(sim->sim_sid); 319 if (sim->sim_sid == NULL) { 329 ace->se_sid = smb_sid_dup(sim->sim_sid); 359 smb_idmap_t *sim; local 388 sim = sib.sib_maps; 390 for (i = 0; i < acl->sl_acecnt; i++, zace++, ace++, sim++) { 399 sim 476 smb_idmap_t *sim; local [all...] |
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | smb_logon.c | 72 smb_idmap_t *sim; local 79 sim = sib->sib_maps; 87 sim->sim_id = &id->i_id; 88 stat = smb_idmap_batch_getid(sib->sib_idmaph, sim++, 96 sim->sim_id = &id->i_id; 97 stat = smb_idmap_batch_getid(sib->sib_idmaph, sim++, 106 sim->sim_id = &id->i_id; 107 stat = smb_idmap_batch_getid(sib->sib_idmaph, sim++, id->i_sid, 114 for (i = 0; i < token->tkn_win_grps.i_cnt; i++, sim++) { 116 sim [all...] |
/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_svm_util.c | 2035 boolean_t sim = B_FALSE; local 2038 sim = ((getenv(simfile) != NULL) && (strlen(getenv(simfile)) > 0)); 2040 if (sim != B_TRUE) { 2042 /* sim disabled: use meta_replicaslice() */ 2077 /* sim enabled: use same logic as meta_replicaslice() */
|
H A D | layout_device_util.c | 796 boolean_t sim = B_FALSE; local 799 sim = ((getenv(simfile) != NULL) && (strlen(getenv(simfile)) > 0)); 814 if (sim != B_TRUE) { 816 /* sim disabled: use meta_repartition_drive() */ 851 /* sim enabled: use faked repartition code */
|