/sssd/src/sss_client/ |
H A D | nss_mc_initgr.c | 45 uint32_t num_groups; local 56 num_groups = data->num_groups; 57 max_ret = num_groups; 60 if ((*size - *start) < num_groups) { 64 newsize = *size + num_groups;
|
/sssd/src/providers/ipa/ |
H A D | ipa_hbac_users.c | 178 size_t num_groups = 0; local 323 new_users->groups[num_groups] = 325 if (new_users->groups[num_groups] == NULL) { 332 num_groups++; 339 &new_users->groups[num_groups]); 343 new_users->groups[num_groups], rule_name); 344 num_groups++; 356 new_users->groups[num_groups] = NULL; 367 const char *, num_groups + 1);
|
H A D | ipa_hbac_common.c | 511 unsigned int num_groups = 0; local 568 &users->groups[num_groups]); 575 users->groups[num_groups], users->name); 576 num_groups++; 583 users->groups[num_groups] = NULL; 585 if (num_groups < el->num_values) { 588 num_groups+1);
|
/sssd/src/responder/nss/ |
H A D | nsssrv.h | 89 int num_groups);
|
H A D | nsssrv_mmap_cache.h | 57 uint32_t num_groups,
|
H A D | nsssrv_mmap_cache.c | 969 uint32_t num_groups, 986 data_len = num_groups * sizeof(uint32_t) + name->len + unique_name->len; 1014 data->num_groups = num_groups; 1015 memcpy((char *)data->gids + pos, gids_buf, num_groups * sizeof(uint32_t)); 1016 pos += num_groups * sizeof(uint32_t); 966 sss_mmap_cache_initgr_store(struct sss_mc_ctx **_mcc, struct sized_string *name, struct sized_string *unique_name, uint32_t num_groups, uint8_t *gids_buf) argument
|
H A D | nsssrv.c | 334 int num_groups) 342 nss_update_initgr_memcache(nctx, user, domain, num_groups, groups); 329 nss_memorycache_update_initgroups(struct sbus_request *sbus_req, void *data, const char *user, const char *domain, uint32_t *groups, int num_groups) argument
|
/sssd/src/providers/ldap/ |
H A D | sdap_async_private.h | 166 struct sysdb_attrs **groups, size_t num_groups, 184 size_t num_groups);
|
H A D | sdap_async_nested_groups.c | 569 int num_groups = 0; local 701 num_groups++; 724 *_num_groups = num_groups; 951 unsigned long num_groups; local 969 &num_groups, &groups); 975 num_groups); 986 *_num_groups = num_groups; 1253 int num_groups; member in struct:sdap_nested_group_recurse_state 1266 int num_groups, 1283 state->num_groups 1262 sdap_nested_group_recurse_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_nested_group_ctx *group_ctx, struct sysdb_attrs **nested_groups, int num_groups, int nesting_level) argument 1375 int num_groups; member in struct:sdap_nested_group_single_state 2208 int num_groups; member in struct:sdap_nested_group_deref_state [all...] |
H A D | sdap_async_initgroups_ad.c | 857 size_t num_groups; local 868 num_groups = 0; 939 groups[num_groups] = sysdb_group_strdn(tmp_ctx, domain->name, name); 940 if (groups[num_groups] == NULL) { 944 num_groups++; 947 groups[num_groups] = NULL; 1426 size_t num_groups; member in struct:sdap_ad_get_domain_local_groups_state 1442 size_t num_groups) 1465 state->num_groups = num_groups; 1435 sdap_ad_get_domain_local_groups_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_domain *local_sdom, struct sdap_options *opts, struct sysdb_ctx *sysdb, struct sss_domain_info *dom, struct sysdb_attrs **groups, size_t num_groups) argument [all...] |
H A D | sdap_async_initgroups.c | 2203 size_t num_groups; member in struct:sdap_rfc2307bis_nested_ctx 2225 struct sysdb_attrs **groups, size_t num_groups, 2234 num_groups, nesting); 2240 if ((num_groups == 0) || 2253 state->num_groups = num_groups; 2272 state->num_groups); 2278 while (state->group_iter < state->num_groups) { 2481 while (state->group_iter < state->num_groups) { 2496 if (state->group_iter == state->num_groups) { 2220 rfc2307bis_nested_groups_send( TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sysdb_ctx *sysdb, struct sss_domain_info *dom, struct sdap_handle *sh, struct sdap_search_base **search_bases, struct sysdb_attrs **groups, size_t num_groups, hash_table_t *group_hash, size_t nesting) argument [all...] |
H A D | sdap_async_groups.c | 1020 int num_groups, 1069 num_groups); 1077 for (i = 0; i < num_groups; i++) { 1015 sdap_save_groups(TALLOC_CTX *memctx, struct sysdb_ctx *sysdb, struct sss_domain_info *dom, struct sdap_options *opts, struct sysdb_attrs **groups, int num_groups, bool populate_members, hash_table_t *ghosts, bool save_orig_member, char **_usn_value) argument
|
/sssd/src/providers/simple/ |
H A D | simple_access_check.c | 392 size_t num_groups; member in struct:simple_check_groups_state 505 if (state->num_groups == 0) { 515 state->num_groups); 559 if (state->giter < state->num_groups) { 641 state->lookup_groups[state->num_groups].domain = domain; 642 state->lookup_groups[state->num_groups].gid = gid; 644 state->num_groups++;
|
/sssd/src/db/ |
H A D | sysdb_sudo.c | 385 size_t num_groups = 0; local 418 num_groups = 0; 420 num_groups = groups->num_values; 421 sysdb_groupnames = talloc_array(tmp_ctx, char *, num_groups + 1); 452 num_groups++; 454 char *, num_groups + 1); 457 sysdb_groupnames[num_groups - 1] = talloc_strdup(sysdb_groupnames, 459 NULL_CHECK(sysdb_groupnames[num_groups - 1], ret, done); 461 sysdb_groupnames[num_groups] = NULL;
|
/sssd/src/util/ |
H A D | mmap_cache.h | 146 uint32_t num_groups; /* number of groups */ member in struct:sss_mc_initgr_data
|
/sssd/src/sss_client/libwbclient/ |
H A D | wbc_ctx_sssd.c | 122 uint32_t *num_groups, 254 uint32_t *num_groups, 120 wbcCtxListGroups(struct wbcContext *ctx, const char *domain_name, uint32_t *num_groups, const char ***groups) argument 252 wbcCtxGetGroups(struct wbcContext *ctx, const char *account, uint32_t *num_groups, gid_t **_groups) argument
|
H A D | wbclient_sssd.h | 814 uint32_t *num_groups, 821 uint32_t *num_groups, 1430 * @param *num_groups Number of elements returned in the groups array 1437 uint32_t *num_groups, 1444 * @param *num_groups Number of elements returned in the groups array 1450 uint32_t *num_groups,
|
H A D | wbc_pwd_sssd.c | 611 uint32_t *num_groups, 647 *num_groups = start; 610 wbcGetGroups(const char *account, uint32_t *num_groups, gid_t **_groups) argument
|
/sssd/src/responder/ifp/ |
H A D | ifp_groups.c | 791 int num_groups; local 819 num_groups = 0; 839 num_groups = 0; 858 groups[num_groups] = ifp_groups_build_path_from_msg(groups, 860 if (groups[num_groups] == NULL) { 865 num_groups++; 890 *_num_groups = num_groups;
|
H A D | ifp_users.c | 795 int num_groups; local 844 num_groups = 0; 852 out[num_groups] = ifp_groups_build_path_from_msg(out, 855 if (out[num_groups] == NULL) { 860 num_groups++; 864 *_size = num_groups;
|
/sssd/src/tests/cmocka/ |
H A D | test_nested_groups.c | 74 unsigned long num_groups; member in struct:nested_groups_test_ctx 129 &ctx->num_groups, &ctx->groups, 173 assert_int_equal(test_ctx->num_groups, 1); 234 assert_int_equal(test_ctx->num_groups, 1); 294 assert_int_equal(test_ctx->num_groups, 1); 359 assert_int_equal(test_ctx->num_groups, N_ELEMENTS(expected)); 421 assert_int_equal(test_ctx->num_groups, N_ELEMENTS(expected)); 513 assert_int_equal(test_ctx->num_groups, N_ELEMENTS(expected_groups));
|