Searched defs:root (Results 1 - 8 of 8) sorted by relevance

/sssd-io/src/tests/cmocka/
H A Dtest_sysdb_subdomains.c272 /* Parent domain is an AD forest root and there are two subdomains
344 /* Parent domain is an AD member domain connected to a root domain
353 struct sss_domain_info *root; local
410 root = find_domain_by_name(test_ctx->tctx->dom, forest_root[0], true);
411 assert_non_null(root->forest_root);
412 assert_ptr_equal(root->forest_root, root);
415 assert_true(test_ctx->tctx->dom->forest_root == root);
419 assert_ptr_equal(sub->forest_root, root);
429 /* Each parent domain has a subdomain. One parent domain is a root domai
439 struct sss_domain_info *root; local
[all...]
/sssd-io/src/db/
H A Dsysdb_subdomains.c237 /* IPA subdomain provider saves/saved trusted forest root domains
251 static bool is_same_forest(struct sss_domain_info *root, argument
255 && root->realm != NULL
256 && strcasecmp(member->forest, root->realm) == 0) {
280 DEBUG(SSSDBG_TRACE_INTERNAL, "[%s] is a forest root\n", d->name);
290 "[%s] is a forest root of [%s]\n",
/sssd-io/src/responder/secrets/
H A Dproviders.c511 json_t *root; local
516 root = json_loads(input, 0, &error);
517 if (!root) {
524 if (!json_is_object(root)) {
530 element = json_object_get(root, "type");
547 element = json_object_get(root, "value");
567 json_decref(root);
576 json_t *root; local
579 root = json_pack("{s:s, s:s}", "type", "simple", "value", secret);
580 if (!root) {
611 json_t *root; local
[all...]
/sssd-io/src/tools/
H A Dsss_groupshow.c305 struct group_info *root,
324 struct group_info *root; local
340 /* First, search for the root group */
350 msg, domain, NULL, &root,
360 root->group_members = talloc_array(root,
363 if (!root->group_members) {
368 root->group_members[i] = talloc_zero(root, struct group_info);
369 if (!root
485 group_show_recurse(TALLOC_CTX *mem_ctx, struct sysdb_ctx *sysdb, struct sss_domain_info *domain, struct group_info *root, struct group_info *parent, const char **group_members, const int nmembers, struct group_info ***up_members) argument
661 struct group_info *root = NULL; local
[all...]
/sssd-io/src/util/
H A Dfiles.c142 int sss_remove_tree(const char *root) argument
152 ret = remove_tree_with_ctx(tmp_ctx, AT_FDCWD, root, 0, false);
157 int sss_remove_subtree(const char *root) argument
167 ret = remove_tree_with_ctx(tmp_ctx, AT_FDCWD, root, 0, true);
260 /* Remove also root directory. */
671 /* Create the directory. It starts owned by us (presumbaly root), with
/sssd-io/src/responder/kcm/
H A Dkcmsrv_ccache_json.c546 json_t *root = NULL; local
550 root = json_loads(input, 0, &error);
551 if (root == NULL) {
558 ok = json_is_object(root);
561 json_decref(root);
565 *_root = root;
818 json_t *root)
826 ret = json_unpack_ex(root,
878 json_t *root = NULL; local
882 ret = sec_value_to_json(sec_value, &root);
817 sec_json_value_to_ccache(struct kcm_ccache *cc, json_t *root) argument
[all...]
H A Dkcmsrv_ccache_secrets.c232 json_t *root; local
250 root = json_loadb((const char *) sec_http_list,
252 if (root == NULL) {
259 ok = json_is_array(root);
266 list_len = json_array_size(root);
273 json_array_foreach(root, idx, element) {
288 json_decref(root);
/sssd-io/src/providers/ad/
H A Dad_subdomains.c68 /* Clients joined to the forest root directly don't even discover
69 * the root domain, so the attrs are expected to be NULL in this
81 /* With a subsequent run, the root should already be known */
86 /* The forest root is special, although it might be disabled for
88 * forest from a DC of the forest root */
118 "Failed to find sdap_domain for the root domain\n");
523 /* If we are handling root domain, skip all the other domains. We don't
524 * want to accidentally remove non-root domains
549 /* Just disable the forest root but do not remove sdap data */
552 "Skipping removal of forest root sda
637 ad_subdomains_process(TALLOC_CTX *mem_ctx, struct sss_domain_info *domain, const char **enabled_domains_list, size_t nsd, struct sysdb_attrs **sd, struct sysdb_attrs *root, size_t *_nsd_out, struct sysdb_attrs ***_sd_out) argument
[all...]

Completed in 690 milliseconds