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

/sssd/src/db/
H A Dsysdb_subdomains.c53 if (parent->view_name != NULL) {
54 dom->view_name = talloc_strdup(dom, parent->view_name);
55 if (dom->view_name == NULL) {
402 if (!dom->has_views && dom->view_name == NULL) {
405 if (dom->parent->view_name != NULL) {
406 dom->view_name = talloc_strdup(dom,
407 dom->parent->view_name);
408 if (dom->view_name == NULL) {
417 || strcmp(dom->view_name,
478 char *view_name = NULL; local
[all...]
H A Dsysdb_views.c89 char **view_name)
93 return sysdb_get_view_name_ex(mem_ctx, sysdb, view_name,
98 const char *view_name)
120 if (strcmp(tmp_str, view_name) == 0) {
128 "View name changed from [%s] to [%s].\n", tmp_str, view_name);
157 ret = ldb_msg_add_string(msg, SYSDB_VIEW_NAME, view_name);
182 errno_t sysdb_delete_view_tree(struct sysdb_ctx *sysdb, const char *view_name) argument
195 view_name);
375 const char *view_name,
416 SYSDB_TMPL_OVERRIDE, anchor, view_name);
88 sysdb_get_view_name(TALLOC_CTX *mem_ctx, struct sysdb_ctx *sysdb, char **view_name) argument
97 sysdb_update_view_name(struct sysdb_ctx *sysdb, const char *view_name) argument
374 sysdb_store_override(struct sss_domain_info *domain, const char *view_name, enum sysdb_member_type type, struct sysdb_attrs *attrs, struct ldb_dn *obj_dn) argument
[all...]
H A Dsysdb.h494 errno_t sysdb_update_view_name(struct sysdb_ctx *sysdb, const char *view_name);
497 char **view_name);
499 static inline bool is_default_view(const char *view_name) argument
502 if (view_name == NULL
503 || strcmp(view_name, SYSDB_DEFAULT_VIEW_NAME) == 0) {
510 static inline bool is_local_view(const char *view_name) argument
513 if (view_name != NULL
514 && strcmp(view_name, SYSDB_LOCAL_VIEW_NAME) == 0) {
521 errno_t sysdb_delete_view_tree(struct sysdb_ctx *sysdb, const char *view_name);
1007 const char *view_name,
[all...]
H A Dsysdb_search.c776 if (!is_local_view(domain->view_name)) {
932 if (!is_local_view(domain->view_name)) {
/sssd/src/providers/ipa/
H A Dipa_id.h98 const char *view_name,
H A Dipa_subdomains.c577 const char *view_name,
580 const char *current = ipa_id_ctx->view_name;
587 read_at_init ? "true" : "false", ipa_id_ctx->view_name);
589 if (current != NULL && strcmp(current, view_name) != 0 && read_at_init) {
595 if (current != NULL && strcmp(current, view_name) == 0) {
600 DEBUG(SSSDBG_TRACE_FUNC, "View name changed to [%s].\n", view_name);
607 * Typically ctx->sd_ctx->id_ctx->view_name == NULL means that the
613 if (current != NULL || !is_default_view(view_name)) {
650 ret = sysdb_update_view_name(sysdb, view_name);
657 talloc_free(ipa_id_ctx->view_name);
575 ipa_apply_view(struct sss_domain_info *domain, struct ipa_id_ctx *ipa_id_ctx, const char *view_name, bool read_at_init) argument
1286 const char *view_name; local
[all...]
H A Dipa_views.c287 const char *view_name,
310 if (view_name == NULL) {
316 if (is_default_view(view_name)) {
319 state->ipa_view_name = view_name;
282 ipa_get_ad_override_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_id_ctx *sdap_id_ctx, struct ipa_options *ipa_options, const char *ipa_realm, const char *view_name, struct dp_id_data *ar) argument
H A Dipa_id.c339 state->ipa_ctx->view_name,
368 if (is_default_view(state->ipa_ctx->view_name)) {
373 state->ipa_ctx->view_name,
555 if (is_default_view(state->ipa_ctx->view_name)
602 state->ipa_ctx->view_name, state->ar);
769 if (!is_default_view(state->ipa_ctx->view_name)) {
810 state->ipa_ctx->view_name,
826 ret = sysdb_store_override(state->domain, state->ipa_ctx->view_name,
907 ret = sysdb_store_override(state->domain, state->ipa_ctx->view_name,
H A Dipa_common.h200 char *view_name; member in struct:ipa_id_ctx
H A Dipa_s2n_exop.c762 const char *view_name,
1181 if (is_default_view(state->ipa_ctx->view_name)) {
1211 state->ipa_ctx->view_name,
1264 NULL, state->ipa_ctx->view_name,
1767 if (ret == ENOENT || is_default_view(state->ipa_ctx->view_name)) {
1786 state->ipa_ctx->view_name,
1935 const char *view_name,
2399 if (!is_default_view(view_name)) {
2403 ret = sysdb_store_override(dom, view_name, type, override_attrs,
2465 && !is_default_view(state->ipa_ctx->view_name)) {
1931 ipa_s2n_save_objects(struct sss_domain_info *dom, struct req_input *req_input, struct resp_attrs *attrs, struct resp_attrs *simple_attrs, const char *view_name, struct sysdb_attrs *override_attrs, bool update_initgr_timeout) argument
[all...]
H A Dipa_init.c244 ipa_id_ctx->view_name = talloc_strdup(ipa_id_ctx, SYSDB_DEFAULT_VIEW_NAME);
245 if (ipa_id_ctx->view_name == NULL) {
250 ret = sysdb_update_view_name(be_ctx->domain->sysdb, ipa_id_ctx->view_name);
314 &ipa_id_ctx->view_name);
H A Dipa_subdomains_id.c123 if (state->ipa_ctx->view_name == NULL
173 state->ipa_ctx->view_name, state->ar);
1161 state->ipa_ctx->view_name,
/sssd/src/confdb/
H A Dconfdb.h309 const char *view_name; member in struct:sss_domain_info
H A Dconfdb.c1368 domain->view_name = NULL;
/sssd/src/tests/cmocka/
H A Dtest_sysdb_views.c310 test_ctx->domain->view_name = "LOCAL";
342 test_ctx->domain->view_name = "NON-LOCAL";
/sssd/src/responder/nss/
H A Dnsssrv_cmd.c595 if (!DOM_HAS_VIEWS(dom) || !is_local_view(dom->view_name)) {
2901 if (DOM_HAS_VIEWS(dom) && !is_local_view(dom->view_name)
2905 "ghost members.\n", dom->view_name, orig_name);

Completed in 128 milliseconds