Searched defs:domain (Results 1 - 25 of 151) sorted by relevance

1234567

/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.c31 const char *domain; local
35 domain = provider->be_ctx->domain->name;
36 ret = dp_get_sbus_address(NULL, &sbus_address, domain);
H A Ddp_custom_data.h52 const char *domain; member in struct:dp_id_data
/sssd/src/providers/simple/
H A Dsimple_access.h28 struct sss_domain_info *domain; member in struct:simple_ctx
/sssd/src/util/
H A Dsss_nss.h33 const char *domain; member in struct:sss_nss_homedir_ctx
H A Dsss_log.c91 const char *domain; local
100 domain = getenv(SSS_DOM_ENV);
101 if (domain == NULL) {
102 domain = "";
107 "SSSD_DOMAIN=%s", domain,
/sssd/src/tests/cmocka/data_provider/
H A Dmock_dp.c103 struct sss_domain_info *domain,
116 params->domain = domain;
100 mock_dp_req_params(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct be_ctx *be_ctx, struct sss_domain_info *domain, enum dp_targets target, enum dp_methods method) argument
/sssd/src/responder/common/cache_req/plugins/
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_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_group_by_filter.c32 struct sss_domain_info *domain)
49 domain->case_sensitive);
74 struct sss_domain_info *domain)
83 struct sss_domain_info *domain,
95 ret = sysdb_enumgrent_filter_with_views(mem_ctx, domain, data->name.lookup,
142 const char *domain,
153 0, domain, data);
30 cache_req_group_by_filter_prepare_domain_data(struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain) argument
72 cache_req_group_by_filter_create_debug_name(TALLOC_CTX *mem_ctx, struct cache_req_data *data, struct sss_domain_info *domain) argument
80 cache_req_group_by_filter_lookup(TALLOC_CTX *mem_ctx, struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain, struct ldb_result **_result) argument
139 cache_req_group_by_filter_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct resp_ctx *rctx, const char *domain, const char *filter) argument
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_group_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_group(ncache, domain, data->name.lookup);
95 struct sss_domain_info *domain,
98 return sss_ncache_set_group(ncache, false, domain, data->name.lookup);
105 struct sss_domain_info *domain,
108 return sysdb_getgrnam_with_views(mem_ctx, domain, dat
30 cache_req_group_by_name_prepare_domain_data(struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain) argument
78 cache_req_group_by_name_create_debug_name(TALLOC_CTX *mem_ctx, struct cache_req_data *data, struct sss_domain_info *domain) argument
86 cache_req_group_by_name_ncache_check(struct sss_nc_ctx *ncache, struct sss_domain_info *domain, struct cache_req_data *data) argument
94 cache_req_group_by_name_ncache_add(struct sss_nc_ctx *ncache, struct sss_domain_info *domain, struct cache_req_data *data) argument
102 cache_req_group_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
177 cache_req_group_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_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
H A Dcache_req_user_by_cert.c32 struct sss_domain_info *domain)
37 get_last_x_chars(data->cert, 10), domain->name);
42 struct sss_domain_info *domain,
59 struct sss_domain_info *domain,
62 return sysdb_search_user_by_cert_with_views(mem_ctx, domain, data->cert,
108 const char *domain,
120 domain, data);
30 cache_req_user_by_cert_create_debug_name(TALLOC_CTX *mem_ctx, struct cache_req_data *data, struct sss_domain_info *domain) argument
41 cache_req_user_by_cert_ncache_check(struct sss_nc_ctx *ncache, struct sss_domain_info *domain, struct cache_req_data *data) argument
56 cache_req_user_by_cert_lookup(TALLOC_CTX *mem_ctx, struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain, struct ldb_result **_result) argument
103 cache_req_user_by_cert_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 *pem_cert) argument
H A Dcache_req_user_by_filter.c32 struct sss_domain_info *domain)
49 domain->case_sensitive);
74 struct sss_domain_info *domain)
83 struct sss_domain_info *domain,
95 ret = sysdb_enumpwent_filter_with_views(mem_ctx, domain, data->name.lookup,
142 const char *domain,
153 0, domain, data);
30 cache_req_user_by_filter_prepare_domain_data(struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain) argument
72 cache_req_user_by_filter_create_debug_name(TALLOC_CTX *mem_ctx, struct cache_req_data *data, struct sss_domain_info *domain) argument
80 cache_req_user_by_filter_lookup(TALLOC_CTX *mem_ctx, struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain, struct ldb_result **_result) argument
139 cache_req_user_by_filter_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct resp_ctx *rctx, const char *domain, const char *filter) 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_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_getpwnam_with_views(mem_ctx, domain, dat
30 cache_req_user_by_name_prepare_domain_data(struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain) argument
78 cache_req_user_by_name_create_debug_name(TALLOC_CTX *mem_ctx, struct cache_req_data *data, struct sss_domain_info *domain) argument
86 cache_req_user_by_name_ncache_check(struct sss_nc_ctx *ncache, struct sss_domain_info *domain, struct cache_req_data *data) argument
94 cache_req_user_by_name_ncache_add(struct sss_nc_ctx *ncache, struct sss_domain_info *domain, struct cache_req_data *data) argument
102 cache_req_user_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
177 cache_req_user_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...]
/sssd/src/responder/ssh/
H A Dsshsrv_private.h45 struct sss_domain_info *domain; member in struct:ssh_cmd_ctx
/sssd/src/providers/ipa/
H A Dipa_config.c43 const char *domain,
71 ret = domain_to_basedn(state, domain, &ldap_basedn);
39 ipa_get_config_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_handle *sh, struct sdap_options *opts, const char *domain, const char **attrs) argument
/sssd/src/providers/proxy/
H A Dproxy_netgroup.c50 get_triple_el(netgrent.val.triple.domain));
70 static errno_t save_netgroup(struct sss_domain_info *domain, argument
86 ret = sysdb_add_netgroup(domain, name, NULL, attrs, NULL,
97 struct sss_domain_info *domain, const char *name)
109 ret = sysdb_delete_netgroup(domain, name);
96 handle_error(enum nss_status status, struct sss_domain_info *domain, const char *name) argument
/sssd/src/sss_client/
H A Dnss_compat.h46 const char *domain; member in struct:__netgrent::__anon31::__anon32
/sssd/src/responder/common/cache_req/
H A Dcache_req_private.h48 struct sss_domain_info *domain; member in struct:cache_req
65 const char *lookup; /* Converted per domain rules. */
88 const char *domain,
/sssd/src/responder/ifp/
H A Difp_iface_nodes.c114 struct sss_domain_info *domain; local
121 domain = ctx->rctx->domains;
124 } while ((domain = get_next_domain(domain, SSS_GND_ALL_DOMAINS)) != NULL);
133 domain = ctx->rctx->domains;
135 nodes[count] = sbus_opath_escape_part(nodes, domain->name);
143 } while ((domain = get_next_domain(domain, SSS_GND_ALL_DOMAINS)) != NULL);
/sssd/src/responder/pam/
H A Dpam_LOCAL_domain.c52 struct sss_domain_info *domain; member in struct:LOCAL_request
90 ret = sysdb_set_user_attr(lreq->domain,
131 ret = sysdb_set_user_attr(lreq->domain,
200 ret = sysdb_set_user_attr(lreq->domain,
239 lreq->dbctx = preq->domain->sysdb;
242 "Fatal: Sysdb CTX not found for this domain!\n");
246 lreq->domain = preq->domain;
252 ret = sysdb_get_user_attr(lreq, preq->domain, preq->pd->user, attrs,

Completed in 3512 milliseconds

1234567