Searched refs:domain (Results 1 - 25 of 251) sorted by relevance

1234567891011

/sssd/src/providers/data_provider/
H A Ddp_iface_backend.c36 struct sss_domain_info *domain; local
42 domain = be_ctx->domain;
44 domain = find_domain_by_name(be_ctx->domain, domname, false);
45 if (domain == NULL) {
47 "Unknown domain %s", domname);
52 if (domain == be_ctx->domain) {
55 online = domain
[all...]
H A Ddp_target_id.c91 const char *domain; member in struct:dp_initgr_ctx
97 const char *domain,
122 ctx->domain = talloc_strdup(ctx, domain);
123 if (ctx->domain == NULL) {
183 DBUS_TYPE_STRING, &ctx->domain,
209 struct sss_domain_info *domain; local
216 if (data->domain == NULL) {
217 domain = be_ctx->domain;
96 create_initgr_ctx(TALLOC_CTX *mem_ctx, const char *domain, struct ldb_result *res) argument
253 dp_get_account_info_handler(struct sbus_request *sbus_req, void *dp_cli, uint32_t dp_flags, uint32_t entry_type, uint32_t attr_type, const char *filter, const char *domain, const char *extra) argument
[all...]
/sssd/src/config/testconfigs/
H A Dsssd-nonexisting-services-domains.conf0 [domain/active]
3 [domain/inactive]
H A Dsssd-valid.conf18 [domain/PROXY]
23 [domain/IPA]
28 [domain/LOCAL]
33 [domain/LDAP]
40 [domain/INVALIDPROVIDER]
48 [domain/INVALIDOPTION]
H A Dsssd-badversion.conf17 [domain/PROXY]
22 [domain/IPA]
27 [domain/LOCAL]
32 [domain/LDAP]
H A Dsssd-invalid-badbool.conf17 [domain/PROXY]
22 [domain/IPA]
28 [domain/LOCAL]
33 [domain/LDAP]
H A Dsssd-noversion.conf16 [domain/PROXY]
21 [domain/IPA]
26 [domain/LOCAL]
31 [domain/LDAP]
42 [domain/ad.example.com]
/sssd/src/db/
H A Dsysdb_autofs.h39 sysdb_save_autofsmap(struct sss_domain_info *domain,
48 struct sss_domain_info *domain,
53 sysdb_delete_autofsmap(struct sss_domain_info *domain,
57 sysdb_save_autofsentry(struct sss_domain_info *domain,
63 sysdb_del_autofsentry(struct sss_domain_info *domain,
68 struct sss_domain_info *domain,
74 sysdb_set_autofsmap_attr(struct sss_domain_info *domain,
80 sysdb_invalidate_autofs_maps(struct sss_domain_info *domain);
84 struct sss_domain_info *domain,
H A Dsysdb_selinux.h39 errno_t sysdb_store_selinux_usermap(struct sss_domain_info *domain,
42 errno_t sysdb_store_selinux_config(struct sss_domain_info *domain,
47 struct sss_domain_info *domain,
53 struct sss_domain_info *domain,
57 errno_t sysdb_delete_usermaps(struct sss_domain_info *domain);
H A Dsysdb_ssh.h33 sysdb_store_ssh_host(struct sss_domain_info *domain,
41 sysdb_update_ssh_known_host_expire(struct sss_domain_info *domain,
47 sysdb_set_ssh_host_attr(struct sss_domain_info *domain,
53 sysdb_delete_ssh_host(struct sss_domain_info *domain,
58 struct sss_domain_info *domain,
66 struct sss_domain_info *domain,
73 struct sss_domain_info *domain,
H A Dsysdb_services.h52 struct sss_domain_info *domain,
59 struct sss_domain_info *domain,
66 struct sss_domain_info *domain,
70 sysdb_store_service(struct sss_domain_info *domain,
82 const char *domain, const char *name);
86 struct sss_domain_info *domain,
94 sysdb_svc_delete(struct sss_domain_info *domain,
100 sysdb_set_service_attr(struct sss_domain_info *domain,
106 struct sss_domain_info *domain,
H A Dsysdb.h379 const char *domain,
390 errno_t sysdb_attrs_primary_name_list(struct sss_domain_info *domain,
396 errno_t sysdb_attrs_primary_fqdn_list(struct sss_domain_info *domain,
403 struct sss_domain_info *domain,
450 const char *domain, const char *name);
452 const char *domain, const char *name);
474 errno_t sysdb_update_subdomains(struct sss_domain_info *domain);
476 errno_t sysdb_master_domain_update(struct sss_domain_info *domain);
478 errno_t sysdb_master_domain_add_info(struct sss_domain_info *domain,
525 errno_t sysdb_apply_default_override(struct sss_domain_info *domain,
[all...]
H A Dsysdb_sudo.h122 struct sss_domain_info *domain,
126 errno_t sysdb_sudo_set_last_full_refresh(struct sss_domain_info *domain,
128 errno_t sysdb_sudo_get_last_full_refresh(struct sss_domain_info *domain,
131 errno_t sysdb_sudo_purge(struct sss_domain_info *domain,
137 sysdb_sudo_store(struct sss_domain_info *domain,
143 struct sss_domain_info *domain,
150 sysdb_set_sudo_rule_attr(struct sss_domain_info *domain,
/sssd/src/responder/common/data_provider/
H A Drdp.h35 struct sss_domain_info *domain,
42 #define rdp_message_send(mem_ctx, rctx, domain, path, iface, \
44 _rdp_message_send(mem_ctx, rctx, domain, path, iface, method, \
65 struct sss_domain_info *domain,
72 #define rdp_message_send_and_reply(sbus_req, rctx, domain, path, iface, \
74 _rdp_message_send_and_reply(sbus_req, rctx, domain, path, iface, method, \
/sssd/src/responder/ifp/
H A Difp_cache.h46 const char *domain,
52 struct sss_domain_info *domain,
56 struct sss_domain_info *domain,
H A Difp_cache.c35 struct sss_domain_info *domain)
41 base_dn = sysdb_user_base_dn(mem_ctx, domain);
44 base_dn = sysdb_group_base_dn(mem_ctx, domain);
54 struct sss_domain_info *domain,
61 path = ifp_users_build_path_from_msg(mem_ctx, domain, msg);
64 path = ifp_groups_build_path_from_msg(mem_ctx, domain, msg);
91 struct sss_domain_info *domain,
111 base_dn = ifp_cache_build_base_dn(tmp_ctx, type, domain);
118 ldb_ret = ldb_search(sysdb_ctx_get_ldb(domain->sysdb), tmp_ctx, &result,
135 paths[i] = ifp_cache_build_path(paths, type, domain, resul
33 ifp_cache_build_base_dn(TALLOC_CTX *mem_ctx, enum ifp_cache_type type, struct sss_domain_info *domain) argument
52 ifp_cache_build_path(TALLOC_CTX *mem_ctx, enum ifp_cache_type type, struct sss_domain_info *domain, struct ldb_message *msg) argument
89 ifp_cache_get_cached_objects(TALLOC_CTX *mem_ctx, enum ifp_cache_type type, struct sss_domain_info *domain, const char ***_paths, int *_num_paths) argument
159 struct sss_domain_info *domain; local
247 struct sss_domain_info *domain; local
278 ifp_cache_object_set(struct sss_domain_info *domain, struct ldb_dn *dn, bool value) argument
312 ifp_cache_object_store(struct sbus_request *sbus_req, struct sss_domain_info *domain, struct ldb_dn *dn) argument
329 ifp_cache_object_remove(struct sbus_request *sbus_req, struct sss_domain_info *domain, struct ldb_dn *dn) argument
[all...]
/sssd/src/config/SSSDConfig/
H A Dsssd_upgrade_config.py63 def _add_dns_domain_name(self, domain):
64 id_provider = self.findOpts(domain['value'], 'option', 'id_provider')[1]
67 'value' : domain['name'].lstrip('domain/') }
69 server = self.findOpts(domain['value'], 'option', 'ldap_uri')[1]
71 domain['value'].insert(0, dns_domain_name)
74 server = self.findOpts(domain['value'], 'option', 'ipa_server')[1]
76 domain['value'].insert(0, dns_domain_name)
79 auth_provider = self.findOpts(domain['value'], 'option', 'auth_provider')[1]
81 server = self.findOpts(domain['valu
[all...]
/sssd/src/responder/common/cache_req/plugins/
H A Dcache_req_group_by_id.c32 struct sss_domain_info *domain)
34 return talloc_asprintf(mem_ctx, "GID:%d@%s", data->id, domain->name);
39 struct sss_domain_info *domain,
56 struct sss_domain_info *domain,
59 return sysdb_getgrgid_with_views(mem_ctx, domain, data->id, _result);
76 if (!DOM_HAS_VIEWS(cr->domain)) {
86 /* If domain has views we will try to use original values instead of the
132 const char *domain,
143 cache_refresh_percent, domain, data);
30 cache_req_group_by_id_create_debug_name(TALLOC_CTX *mem_ctx, struct cache_req_data *data, struct sss_domain_info *domain) argument
38 cache_req_group_by_id_ncache_check(struct sss_nc_ctx *ncache, struct sss_domain_info *domain, struct cache_req_data *data) argument
53 cache_req_group_by_id_lookup(TALLOC_CTX *mem_ctx, struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain, struct ldb_result **_result) argument
127 cache_req_group_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, gid_t gid) argument
H A Dcache_req_initgroups_by_upn.c32 struct sss_domain_info *domain)
59 struct sss_domain_info *domain)
66 struct sss_domain_info *domain,
69 return sss_ncache_check_user(ncache, domain, data->name.lookup);
74 struct sss_domain_info *domain,
77 return sss_ncache_set_user(ncache, false, domain, data->name.lookup);
84 struct sss_domain_info *domain,
87 return sysdb_initgroups_by_upn(mem_ctx, domain, data->name.lookup,
30 cache_req_initgroups_by_upn_prepare_domain_data(struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain) argument
57 cache_req_initgroups_by_upn_create_debug_name(TALLOC_CTX *mem_ctx, struct cache_req_data *data, struct sss_domain_info *domain) argument
65 cache_req_initgroups_by_upn_ncache_check(struct sss_nc_ctx *ncache, struct sss_domain_info *domain, struct cache_req_data *data) argument
73 cache_req_initgroups_by_upn_ncache_add(struct sss_nc_ctx *ncache, struct sss_domain_info *domain, struct cache_req_data *data) argument
81 cache_req_initgroups_by_upn_lookup(TALLOC_CTX *mem_ctx, struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain, struct ldb_result **_result) argument
H A Dcache_req_user_by_id.c32 struct sss_domain_info *domain)
34 return talloc_asprintf(mem_ctx, "UID:%d@%s", data->id, domain->name);
39 struct sss_domain_info *domain,
56 struct sss_domain_info *domain,
59 return sysdb_getpwuid_with_views(mem_ctx, domain, data->id, _result);
76 if (!DOM_HAS_VIEWS(cr->domain)) {
86 /* If domain has views we will try to use original values instead of the
132 const char *domain,
143 cache_refresh_percent, domain, data);
30 cache_req_user_by_id_create_debug_name(TALLOC_CTX *mem_ctx, struct cache_req_data *data, struct sss_domain_info *domain) argument
38 cache_req_user_by_id_ncache_check(struct sss_nc_ctx *ncache, struct sss_domain_info *domain, struct cache_req_data *data) argument
53 cache_req_user_by_id_lookup(TALLOC_CTX *mem_ctx, struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain, struct ldb_result **_result) argument
127 cache_req_user_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, uid_t uid) argument
H A Dcache_req_user_by_upn.c32 struct sss_domain_info *domain)
59 struct sss_domain_info *domain)
66 struct sss_domain_info *domain,
69 return sss_ncache_check_user(ncache, domain, data->name.lookup);
74 struct sss_domain_info *domain,
77 return sss_ncache_set_user(ncache, false, domain, data->name.lookup);
84 struct sss_domain_info *domain,
87 return sysdb_getpwupn(mem_ctx, domain, data->name.lookup, _result);
30 cache_req_user_by_upn_prepare_domain_data(struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain) argument
57 cache_req_user_by_upn_create_debug_name(TALLOC_CTX *mem_ctx, struct cache_req_data *data, struct sss_domain_info *domain) argument
65 cache_req_user_by_upn_ncache_check(struct sss_nc_ctx *ncache, struct sss_domain_info *domain, struct cache_req_data *data) argument
73 cache_req_user_by_upn_ncache_add(struct sss_nc_ctx *ncache, struct sss_domain_info *domain, struct cache_req_data *data) argument
81 cache_req_user_by_upn_lookup(TALLOC_CTX *mem_ctx, struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain, struct ldb_result **_result) argument
H A Dcache_req_initgroups_by_name.c32 struct sss_domain_info *domain)
49 domain->case_sensitive);
61 name = sss_create_internal_fqname(tmp_ctx, name, domain->name);
80 struct sss_domain_info *domain)
87 struct sss_domain_info *domain,
90 return sss_ncache_check_user(ncache, domain, data->name.lookup);
95 struct sss_domain_info *domain,
98 return sss_ncache_set_user(ncache, false, domain, data->name.lookup);
105 struct sss_domain_info *domain,
108 return sysdb_initgroups_with_views(mem_ctx, domain, dat
30 cache_req_initgroups_by_name_prepare_domain_data(struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain) argument
78 cache_req_initgroups_by_name_create_debug_name(TALLOC_CTX *mem_ctx, struct cache_req_data *data, struct sss_domain_info *domain) argument
86 cache_req_initgroups_by_name_ncache_check(struct sss_nc_ctx *ncache, struct sss_domain_info *domain, struct cache_req_data *data) argument
94 cache_req_initgroups_by_name_ncache_add(struct sss_nc_ctx *ncache, struct sss_domain_info *domain, struct cache_req_data *data) argument
102 cache_req_initgroups_by_name_lookup(TALLOC_CTX *mem_ctx, struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain, struct ldb_result **_result) argument
190 cache_req_initgr_by_name_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, const char *name) argument
[all...]
H A Dcache_req_object_by_sid.c32 struct sss_domain_info *domain)
34 return talloc_asprintf(mem_ctx, "SID:%s@%s", data->sid, domain->name);
39 struct sss_domain_info *domain,
56 struct sss_domain_info *domain,
59 return sysdb_search_object_by_sid(mem_ctx, domain, data->sid, data->attrs,
105 const char *domain,
117 cache_refresh_percent, domain, data);
30 cache_req_object_by_sid_create_debug_name(TALLOC_CTX *mem_ctx, struct cache_req_data *data, struct sss_domain_info *domain) argument
38 cache_req_object_by_sid_ncache_check(struct sss_nc_ctx *ncache, struct sss_domain_info *domain, struct cache_req_data *data) argument
53 cache_req_object_by_sid_lookup(TALLOC_CTX *mem_ctx, struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain, struct ldb_result **_result) argument
100 cache_req_object_by_sid_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, const char *sid, const char **attrs) argument
/sssd/src/tests/cmocka/
H A Dtest_ldap_id_cleanup.c46 struct sss_domain_info *domain; member in struct:sysdb_test_ctx
88 "config/domain/LOCAL", "id_provider", val);
93 "config/domain/LOCAL", "enumerate", val);
98 "config/domain/LOCAL", "cache_credentials", val);
102 TESTS_PATH, &test_ctx->domain);
105 test_ctx->domain->has_views = true;
106 test_ctx->sysdb = test_ctx->domain->sysdb;
124 test_ctx->domain->mpg = false;
155 struct sss_domain_info *domain,
166 ret = sysdb_set_group_attr(domain, nam
154 invalidate_group(TALLOC_CTX *ctx, struct sss_domain_info *domain, const char *name) argument
[all...]
/sssd/src/responder/common/cache_req/
H A Dcache_req.c132 struct sss_domain_info *domain)
141 "Preparing input data for domain [%s] rules\n",
142 domain->name);
144 ret = cr->plugin->prepare_domain_data_fn(cr, cr->data, domain);
157 struct sss_domain_info *domain)
167 cr->debugobj = cr->plugin->create_debug_name_fn(cr, cr->data, domain);
179 struct sss_domain_info *domain)
183 CACHE_REQ_DEBUG(SSSDBG_TRACE_FUNC, cr, "Using domain [%s]\n", domain->name);
185 ret = cache_req_prepare_domain_data(cr, domain);
131 cache_req_prepare_domain_data(struct cache_req *cr, struct sss_domain_info *domain) argument
156 cache_req_create_debug_name(struct cache_req *cr, struct sss_domain_info *domain) argument
178 cache_req_set_domain(struct cache_req *cr, struct sss_domain_info *domain) argument
260 struct sss_domain_info *domain; member in struct:cache_req_state
279 cache_req_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct resp_ctx *rctx, struct sss_nc_ctx *ncache, int midpoint, const char *domain, struct cache_req_data *data) argument
326 cache_req_process_input(TALLOC_CTX *mem_ctx, struct tevent_req *req, struct cache_req *cr, const char *domain) argument
363 char *domain; local
400 cache_req_select_domains(struct tevent_req *req, const char *domain) argument
559 cache_req_steal_data_and_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, struct cache_req_data *data) argument
[all...]

Completed in 4173 milliseconds

1234567891011