| /sssd-io/src/lib/winbind_idmap_sss/ |
| H A D | winbind_idmap_sss.c | 88 ret = sss_nss_getsidbyid(map[c]->xid.id, &sid_str, &id_type); 135 uint32_t id; local 156 ret = sss_nss_getidbysid(sid_str, &id, &id_type); 179 map[c]->xid.id = id;
|
| H A D | winbind_idmap_sss.h | 50 uint32_t id; member in struct:unixid 93 NTSTATUS (*allocate_id)(struct idmap_domain *dom, struct unixid *id);
|
| /sssd-io/src/responder/common/cache_req/plugins/ |
| H A D | cache_req_object_by_id.c | 34 return talloc_asprintf(mem_ctx, "ID:%"PRIu32"@%s", data->id, domain->name); 44 ret = sss_ncache_check_uid(ncache, domain, data->id); 46 ret = sss_ncache_check_gid(ncache, domain, data->id); 73 ret = sss_ncache_set_uid(ncache, false, NULL, data->id); 78 ret = sss_ncache_set_gid(ncache, false, NULL, data->id); 93 ret = sss_ncache_set_uid(ncache, false, domain, data->id); 98 ret = sss_ncache_set_gid(ncache, false, domain, data->id); 119 return sysdb_search_object_by_id(mem_ctx, domain, data->id, 132 cr->data->id, NULL); 142 nret = sss_ncache_check_locate_uid(rctx->ncache, domain, data->id); 214 cache_req_object_by_id_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct resp_ctx *rctx, struct sss_nc_ctx *ncache, int cache_refresh_percent, const char *domain, uint32_t id, const char **attrs) argument [all...] |
| H A D | cache_req_group_by_id.c | 34 return talloc_asprintf(mem_ctx, "GID:%"PRIu32"@%s", data->id, domain->name); 45 ret = sss_ncache_check_gid(ncache, domain, data->id); 51 return sss_ncache_check_gid(ncache, NULL, data->id); 66 return sss_ncache_set_gid(ncache, false, NULL, data->id); 74 return sss_ncache_set_gid(ncache, false, domain, data->id); 90 return sysdb_getgrgid_with_views(mem_ctx, domain, data->id, _result); 101 uint32_t id; local 103 *_id = cr->data->id; 122 id = ldb_msg_find_attr_as_uint64(result->msgs[0], SYSDB_GIDNUM, 0); 123 if (id 145 uint32_t id; local [all...] |
| H A D | cache_req_group_by_name.c | 148 /* Now we have the original name and id. We don't have to search with 164 uint32_t id; local 168 &string, &id, &flag); 174 SSS_DP_GROUP, string, id, flag);
|
| H A D | cache_req_initgroups_by_name.c | 179 uint32_t id; local 183 &string, &id, &flag); 189 SSS_DP_INITGROUPS, string, id, flag);
|
| H A D | cache_req_user_by_id.c | 34 return talloc_asprintf(mem_ctx, "UID:%"PRIu32"@%s", data->id, domain->name); 45 ret = sss_ncache_check_uid(ncache, domain, data->id); 51 return sss_ncache_check_uid(ncache, NULL, data->id); 66 return sss_ncache_set_uid(ncache, false, NULL, data->id); 74 return sss_ncache_set_uid(ncache, false, domain, data->id); 89 return sysdb_getpwuid_with_views(mem_ctx, domain, data->id, _result); 100 uint32_t id; local 102 *_id = cr->data->id; 121 id = ldb_msg_find_attr_as_uint64(result->msgs[0], SYSDB_UIDNUM, 0); 122 if (id 144 uint32_t id; local [all...] |
| H A D | cache_req_user_by_name.c | 153 /* Now we have the original name and id. We don't have to search with 169 uint32_t id; local 173 &string, &id, &flag); 179 SSS_DP_USER, string, id, flag);
|
| /sssd-io/src/sss_client/libwbclient/ |
| H A D | wbc_idmap_sssd.c | 34 uint32_t id; local 43 ret = sss_nss_getidbysid(sid_str, &id, &type); 53 *puid = (uid_t) id; 98 uint32_t id; local 107 ret = sss_nss_getidbysid(sid_str, &id, &type); 117 *pgid = (gid_t) id; 169 uint32_t id; local 178 ret = sss_nss_getidbysid(sid_str, &id, &type); 188 ids[c].id.uid = (uid_t) id; [all...] |
| /sssd-io/src/lib/cifs_idmap_sss/ |
| H A D | cifs_idmap_sss.c | 127 /* FIXME: Map Samba Unix SIDs? (sid->id and use getpwuid)? */ 192 id_t id; local 195 if (sscanf(sid, "S-1-22-%hhu-%u", &type, &id) != 2) 201 cuxid->id.uid = id; 205 cuxid->id.gid = id; 221 err = sss_nss_getidbysid(sid, (uint32_t *)&cuxid->id.uid, &id_type); 279 debug("setting uid of %s to %d", sid, cuxid[i].id.uid); 307 err = sss_nss_getsidbyid((uint32_t)cuxid[i].id [all...] |
| /sssd-io/src/providers/ |
| H A D | data_provider_opts.c | 318 int id, const char *location) 320 if (opts[id].type != DP_OPT_STRING) { 324 location, opts[id].opt_name, 325 dp_opt_type_to_string(opts[id].type)); 328 return opts[id].val.cstring; 332 int id, const char *location) 334 if (opts[id].type != DP_OPT_STRING) { 338 location, opts[id].opt_name, 339 dp_opt_type_to_string(opts[id].type)); 342 return opts[id] 317 _dp_opt_get_cstring(struct dp_option *opts, int id, const char *location) argument 331 _dp_opt_get_string(struct dp_option *opts, int id, const char *location) argument 345 _dp_opt_get_blob(struct dp_option *opts, int id, const char *location) argument 359 _dp_opt_get_int(struct dp_option *opts, int id, const char *location) argument 373 _dp_opt_get_bool(struct dp_option *opts, int id, const char *location) argument 388 _dp_opt_set_string(struct dp_option *opts, int id, const char *s, const char *location) argument 414 _dp_opt_set_blob(struct dp_option *opts, int id, struct dp_opt_blob b, const char *location) argument 441 _dp_opt_set_int(struct dp_option *opts, int id, int i, const char *location) argument 458 _dp_opt_set_bool(struct dp_option *opts, int id, bool b, const char *location) argument [all...] |
| /sssd-io/src/providers/ipa/ |
| H A D | ipa_subdomains.h | 125 uint32_t id; member in union:req_input::__anon10
|
| H A D | ipa_views.c | 37 uint32_t id; local 94 id = strtouint32(ar->filter_value, &endptr, 10); 96 DEBUG(SSSDBG_CRIT_FAILURE, "Invalid id value [%s].\n", 106 id); 114 id); 122 id, 124 id); 128 "Unexpected entry type [%d] for id filter.\n",
|
| /sssd-io/src/responder/common/cache_req/ |
| H A D | cache_req_data.c | 124 data->id = input->id; 266 uint32_t id) 270 input.id = id; 278 uint32_t id, 283 input.id = id; 264 cache_req_data_id(TALLOC_CTX *mem_ctx, enum cache_req_type type, uint32_t id) argument 276 cache_req_data_id_attrs(TALLOC_CTX *mem_ctx, enum cache_req_type type, uint32_t id, const char **attrs) argument
|
| H A D | cache_req_private.h | 81 uint32_t id; member in struct:cache_req_data
|
| /sssd-io/src/responder/nss/ |
| H A D | nss_get_object.c | 62 uint32_t id, 69 ret = sss_mmap_cache_pw_invalidate_uid(nss_ctx->pwd_mc_ctx, (uid_t)id); 72 ret = sss_mmap_cache_gr_invalidate_gid(nss_ctx->grp_mc_ctx, (gid_t)id); 94 uint32_t id, 128 } else if (id == 0) { 134 } else if (id != 0) { 135 ret = memcache_delete_entry_by_id(nss_ctx, id, type); 139 id, dom->name); 61 memcache_delete_entry_by_id(struct nss_ctx *nss_ctx, uint32_t id, enum sss_mc_type type) argument 90 memcache_delete_entry(struct nss_ctx *nss_ctx, struct resp_ctx *rctx, struct sss_domain_info *domain, const char *name, uint32_t id, enum sss_mc_type type) argument
|
| H A D | nss_iface.c | 34 uint32_t id; local 92 id = ldb_msg_find_attr_as_uint(res->msgs[i], SYSDB_GIDNUM, 0); 93 if (id == 0) { 98 if (gids[j] == id) { 125 id = groups[i]; 127 ret = sss_mmap_cache_gr_invalidate_gid(nctx->grp_mc_ctx, id);
|
| H A D | nss_protocol.c | 204 uint32_t id; local 214 SAFEALIGN_COPY_UINT32(&id, body, NULL); 216 *_id = id; 228 uint32_t id; local 239 SAFEALIGN_COPY_UINT32(&id, body, NULL); 242 *_id = id;
|
| H A D | nss_protocol_sid.c | 457 uint32_t id; local 464 /* This was a well known SID. This is currently unsupported with id. */ 484 id = (uint32_t)id64; 497 SAFEALIGN_SET_UINT32(&body[rp], id, &rp);
|
| /sssd-io/src/providers/ad/ |
| H A D | ad_common.h | 91 struct sdap_options *id; member in struct:ad_options
|
| /sssd-io/src/providers/ldap/ |
| H A D | sdap_idmap.c | 282 /* This is the first time we're setting up id-mapping 459 id_t *id) 468 (uint32_t *)id); 496 (uint32_t *)id); 457 sdap_idmap_sid_to_unix(struct sdap_idmap_ctx *idmap_ctx, const char *sid_str, id_t *id) argument
|
| /sssd-io/src/providers/proxy/ |
| H A D | proxy.h | 123 uint32_t id; member in struct:proxy_child_ctx
|
| H A D | proxy_child.c | 60 uint32_t id; member in struct:pc_ctx 395 DEBUG(SSSDBG_TRACE_FUNC, "Got id ack from proxy child\n"); 402 static errno_t proxy_child_send_id(struct sbus_connection *conn, uint32_t id) argument 409 DBUS_TYPE_UINT32, &id); 415 DEBUG(SSSDBG_TRACE_FUNC, "Sending ID to Proxy Backend: (%"PRIu32")\n", id); 456 ret = proxy_child_send_id(ctx->conn, ctx->id); 467 const char *pam_target, uint32_t id) 480 ctx->id = id; 513 long id; local 465 proxy_child_process_init(TALLOC_CTX *mem_ctx, const char *domain, struct tevent_context *ev, struct confdb_ctx *cdb, const char *pam_target, uint32_t id) argument [all...] |
| /sssd-io/src/python/ |
| H A D | pysss_nss_idmap.c | 31 #define SSS_ID_KEY "id" 160 long id; local 169 id = PyInt_AS_LONG(py_id); 173 id = PyLong_AsLong(py_id); 180 id = strtol(id_str, &endptr, 10); 186 if (id < 0 || id > UINT32_MAX) { 190 ret = sss_nss_getsidbyid((uint32_t) id, &sid, &id_type); 276 uint32_t id; local 285 ret = sss_nss_getidbysid(sid, &id, [all...] |
| /sssd-io/src/sss_client/idmap/ |
| H A D | sss_nss_idmap.c | 40 uint32_t id; member in union:input 48 uint32_t id; member in union:output::__anon31 250 rd.data = &inp.id; 321 out->d.id = c; 390 int sss_nss_getsidbyid_timeout(uint32_t id, unsigned int timeout, argument 401 inp.id = id; 412 int sss_nss_getsidbyid(uint32_t id, char **sid, enum sss_id_type *type) argument 414 return sss_nss_getsidbyid_timeout(id, NO_TIMEOUT, sid, type); 446 uint32_t *id, enu 445 sss_nss_getidbysid_timeout(const char *sid, unsigned int timeout, uint32_t *id, enum sss_id_type *id_type) argument 467 sss_nss_getidbysid(const char *sid, uint32_t *id, enum sss_id_type *id_type) argument [all...] |