Searched refs:maps (Results 1 - 16 of 16) sorted by relevance

/sssd-io/src/providers/ipa/
H A Dipa_selinux_maps.h4 IPA Backend Module -- SELinux user maps (maps retrieval)
43 struct sysdb_attrs ***maps);
H A Dipa_selinux_maps.c4 IPA Backend Module -- SELinux user maps (maps retrieval)
43 struct sysdb_attrs **maps; member in struct:ipa_selinux_get_maps_state
77 state->maps = NULL;
130 DEBUG(SSSDBG_TRACE_FUNC, "Trying to fetch SELinux maps with following "
169 "Found %zu user maps in current search base\n", count);
172 state->maps = talloc_realloc(state, state->maps, struct sysdb_attrs *, total_count);
173 if (state->maps == NULL) {
180 state->maps[stat
208 ipa_selinux_get_maps_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, size_t *count, struct sysdb_attrs ***maps) argument
[all...]
H A Dipa_hosts.c112 struct sdap_attr_map_info *maps; local
166 maps = talloc_array(state, struct sdap_attr_map_info, num_maps + 1);
167 if (maps == NULL) {
171 maps[0].map = state->hostgroup_map;
172 maps[0].num_attrs = IPA_OPTS_HOSTGROUP;
173 maps[1].map = NULL;
179 num_maps, maps,
183 talloc_free(maps);
H A Dipa_selinux.c66 struct sysdb_attrs ***maps,
91 struct sysdb_attrs **maps)
106 ret = sysdb_store_selinux_usermap(domain, maps[i]);
306 /* Selinux maps priority evaluation removed --DELETE this comment before pushing*/
435 /* If no maps match, we'll use the default SELinux user from the
444 * in fetched maps. The order array contains all SELinux users
447 * is not in fetched user maps, it means it should not be allowed
452 * the order array and user maps applicable to the user who is
890 /* SELinux maps were recently updated -> force offline */
1002 struct ldb_message **maps; local
88 ipa_save_user_maps(struct sysdb_ctx *sysdb, struct sss_domain_info *domain, size_t map_count, struct sysdb_attrs **maps) argument
1284 ipa_get_selinux_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, size_t *count, struct sysdb_attrs ***maps, size_t *hbac_count, struct sysdb_attrs ***hbac_rules, char **default_user, char **map_order) argument
1408 ipa_selinux_store_config(struct sysdb_ctx *sysdb, struct sss_domain_info *ipa_domain, const char *default_user, const char *map_order, size_t map_count, struct sysdb_attrs **maps) argument
1465 ipa_selinux_create_child_input(TALLOC_CTX *mem_ctx, struct sysdb_attrs *user, struct sysdb_attrs *host, struct sysdb_attrs **maps, size_t map_count, struct sysdb_attrs **hbac_rules, size_t hbac_count, const char *map_order, struct pam_data *pd, struct sss_domain_info *user_domain, const char *default_user, struct selinux_child_input **_sci) argument
1604 struct sysdb_attrs **maps = NULL; local
[all...]
H A Dipa_subdomains.c1515 struct sdap_attr_map_info *maps; local
1540 maps = talloc_zero_array(state, struct sdap_attr_map_info, 2);
1541 if (maps == NULL) {
1546 maps[0].map = ipa_options->view_map;
1547 maps->num_attrs = IPA_OPTS_VIEW;
1562 maps, filter, attrs, IPA_ASSIGNED_ID_VIEW,
/sssd-io/src/db/
H A Dsysdb_certmap.c272 struct certmap_info **maps = NULL; local
322 DEBUG(SSSDBG_TRACE_FUNC, "No certificate maps found.\n");
327 maps = talloc_zero_array(tmp_ctx, struct certmap_info *, res->count + 1);
328 if (maps == NULL) {
335 maps[c] = talloc_zero(maps, struct certmap_info);
336 if (maps[c] == NULL) {
348 maps[c]->name = talloc_strdup(maps, tmp_str);
349 if (maps[
[all...]
/sssd-io/src/providers/ldap/
H A Dsdap_ops.h67 struct sdap_attr_map_info *maps,
85 struct sdap_attr_map_info *maps,
H A Dsdap_ops.c303 struct sdap_attr_map_info *maps; member in struct:sdap_deref_bases_ex_state
326 struct sdap_attr_map_info *maps,
349 if (maps == NULL || attrs == NULL || deref_attr == NULL) {
359 state->maps = maps;
370 for (state->num_maps = 0; maps[state->num_maps].map != NULL;
409 state->deref_attr, state->attrs, state->num_maps, state->maps,
503 struct sdap_attr_map_info *maps,
510 return sdap_deref_bases_ex_send(mem_ctx, ev, opts, sh, bases, maps,
529 struct sdap_attr_map_info *maps,
321 sdap_deref_bases_ex_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, struct sdap_search_base **bases, struct sdap_attr_map_info *maps, const char *filter, const char **attrs, const char *deref_attr, unsigned int flags, bool return_first_reply, int timeout) argument
498 sdap_deref_bases_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, struct sdap_search_base **bases, struct sdap_attr_map_info *maps, const char *filter, const char **attrs, const char *deref_attr, unsigned int flags, int timeout) argument
524 sdap_deref_bases_return_first_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, struct sdap_search_base **bases, struct sdap_attr_map_info *maps, const char *filter, const char **attrs, const char *deref_attr, unsigned int flags, int timeout) argument
[all...]
H A Dsdap_async.c1906 struct sdap_attr_map_info *maps; member in struct:sdap_x_deref_search_state
1919 struct sdap_attr_map_info *maps, int num_maps,
1931 state->maps = maps;
2059 ret = sdap_parse_deref(tmp_ctx, state->maps, state->num_maps,
2327 struct sdap_attr_map_info *maps; member in struct:sdap_asq_search_state
2348 const char **attrs, struct sdap_attr_map_info *maps,
2359 state->maps = maps;
2464 res[mi]->map = state->maps[m
1915 sdap_x_deref_search_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, const char *base_dn, const char *filter, const char *deref_attr, const char **attrs, struct sdap_attr_map_info *maps, int num_maps, int timeout) argument
2345 sdap_asq_search_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, const char *base_dn, const char *deref_attr, const char **attrs, struct sdap_attr_map_info *maps, int num_maps, int timeout) argument
2770 sdap_deref_search_with_filter_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, const char *search_base, const char *filter, const char *deref_attr, const char **attrs, int num_maps, struct sdap_attr_map_info *maps, int timeout, unsigned flags) argument
2834 sdap_deref_search_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, const char *base_dn, const char *deref_attr, const char **attrs, int num_maps, struct sdap_attr_map_info *maps, int timeout) argument
[all...]
H A Dsdap_async.h260 struct sdap_attr_map_info *maps,
277 struct sdap_attr_map_info *maps,
H A Dsdap_async_nested_groups.c2204 struct sdap_attr_map_info *maps = NULL; local
2226 maps = talloc_array(state, struct sdap_attr_map_info, num_maps);
2227 if (maps == NULL) {
2232 maps[0].map = opts->user_map;
2233 maps[0].num_attrs = opts->user_map_cnt;
2234 maps[1].map = opts->group_map;
2235 maps[1].num_attrs = SDAP_OPTS_GROUP;
2257 attrs, num_maps, maps,
H A Dsdap_async_initgroups.c938 struct sdap_attr_map_info *maps; local
947 maps = talloc_array(state, struct sdap_attr_map_info, num_maps+1);
948 if (!maps) return ENOMEM;
950 maps[0].map = state->opts->group_map;
951 maps[0].num_attrs = SDAP_OPTS_GROUP;
952 maps[1].map = NULL;
963 sdap_attrs, num_maps, maps, timeout);
969 talloc_steal(subreq, maps);
976 talloc_free(maps);
/sssd-io/src/responder/autofs/
H A Dautofs_private.h33 hash_table_t *maps; member in struct:autofs_ctx
H A Dautofssrv_cmd.c100 hash_key_t *maps; local
102 if (!actx || !actx->maps) {
106 hret = hash_keys(actx->maps, &mcount, &maps);
112 hret = hash_delete(actx->maps, &maps[i]);
134 hret = hash_lookup(actx->maps, &key, &value);
189 hret = hash_enter(actx->maps, &key, &value);
197 talloc_steal(actx->maps, map);
409 "Could not set up life timer for autofs maps
[all...]
H A Dautofssrv.c91 DEBUG(SSSDBG_OP_FAILURE, "Could not invalidate maps\n");
161 hret = sss_hash_create_ex(autofs_ctx, 10, &autofs_ctx->maps, 0, 0, 0, 0,
165 "Unable to initialize automount maps hash table\n");
/sssd-io/src/tests/cmocka/
H A Dcommon_mock_sdap.c121 struct sdap_attr_map_info *maps,
113 sdap_deref_search_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, const char *base_dn, const char *deref_attr, const char **attrs, int num_maps, struct sdap_attr_map_info *maps, int timeout) argument

Completed in 57 milliseconds