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

/sssd/src/responder/secrets/
H A Dproviders.c372 json_t *root; local
377 root = json_loads(input, 0, &error);
378 if (!root) {
385 if (!json_is_object(root)) {
391 element = json_object_get(root, "type");
408 element = json_object_get(root, "value");
428 json_decref(root);
437 json_t *root; local
440 root = json_pack("{s:s, s:s}", "type", "simple", "value", secret);
441 if (!root) {
472 json_t *root; local
[all...]
/sssd/src/tests/cmocka/
H A Dtest_sysdb_subdomains.c275 /* Parent domain is an AD forest root and there are two subdomains
347 /* Parent domain is an AD member domain connected to a root domain
356 struct sss_domain_info *root; local
412 root = find_domain_by_name(test_ctx->tctx->dom, forest_root[0], true);
413 assert_non_null(root->forest_root);
414 assert_ptr_equal(root->forest_root, root);
417 assert_true(test_ctx->tctx->dom->forest_root == root);
421 assert_ptr_equal(sub->forest_root, root);
431 /* Each parent domain has a subdomain. One parent domain is a root domai
441 struct sss_domain_info *root; local
[all...]
/sssd/src/tools/
H A Dfiles.c143 int remove_tree(const char *root) argument
153 ret = remove_tree_with_ctx(tmp_ctx, AT_FDCWD, root, 0, false);
158 int remove_subtree(const char *root) argument
168 ret = remove_tree_with_ctx(tmp_ctx, AT_FDCWD, root, 0, true);
261 /* Remove also root directory. */
672 /* Create the directory. It starts owned by us (presumbaly root), with
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/src/db/
H A Dsysdb_subdomains.c164 /* IPA subdomain provider saves/saved trusted forest root domains
178 static bool is_same_forest(struct sss_domain_info *root, argument
182 && root->realm != NULL
183 && strcasecmp(member->forest, root->realm) == 0) {
207 DEBUG(SSSDBG_TRACE_INTERNAL, "[%s] is a forest root\n", d->name);
217 "[%s] is a forest root of [%s]\n",
/sssd/src/providers/ad/
H A Dad_subdomains.c397 /* If we are handling root domain, skip all the other domains. We don't
398 * want to accidentally remove non-root domains
507 struct sysdb_attrs *root,
517 if (root == NULL && enabled_domains_list == NULL) {
518 /* We are connected directly to the root domain. The 'sd'
526 /* If we searched for root separately, we must:
527 * a) treat the root domain as a subdomain
562 /* Now include the root */
563 if (root != NULL) {
564 ret = sysdb_attrs_get_string(root, AD_AT_TRUST_PARTNE
503 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
886 struct sss_domain_info *root; local
[all...]

Completed in 24 milliseconds