/sssd-io/src/db/ |
H A D | sysdb_idmap.c | 283 struct ldb_dn *base_dn; local 293 base_dn = ldb_dn_new_fmt(tmp_ctx, domain->sysdb->ldb, 295 if (!base_dn) { 300 SSS_LDB_SEARCH(ret, domain->sysdb->ldb, tmp_ctx, &res, base_dn,
|
H A D | sysdb_gpo.c | 248 struct ldb_dn *base_dn; local 259 base_dn = ldb_dn_new_fmt(tmp_ctx, domain->sysdb->ldb, 262 if (!base_dn) { 267 lret = ldb_search(domain->sysdb->ldb, tmp_ctx, &res, base_dn, 307 struct ldb_dn *base_dn; local 318 base_dn = ldb_dn_new_fmt(tmp_ctx, domain->sysdb->ldb, 321 if (!base_dn) { 326 lret = ldb_search(domain->sysdb->ldb, tmp_ctx, &res, base_dn, 541 struct ldb_dn *base_dn; local 550 base_dn [all...] |
H A D | sysdb_sudo.c | 687 struct ldb_dn *base_dn = NULL; local 694 base_dn = sysdb_custom_subtree_dn(tmp_ctx, domain, SUDORULE_SUBDIR); 695 NULL_CHECK(base_dn, ret, done); 699 ret = sysdb_delete_recursive(domain->sysdb, base_dn, true);
|
H A D | sysdb_search.c | 190 struct ldb_dn *base_dn; local 201 base_dn = sysdb_user_base_dn(tmp_ctx, domain); 202 if (!base_dn) { 213 ret = ldb_search(domain->sysdb->ldb, tmp_ctx, &res, base_dn, 328 struct ldb_dn *base_dn; local 337 base_dn = sysdb_user_base_dn(tmp_ctx, domain); 338 if (!base_dn) { 343 ret = ldb_search(domain->sysdb->ldb, tmp_ctx, &res, base_dn, 610 struct ldb_dn *base_dn; local 621 base_dn 895 struct ldb_dn *base_dn; local 1050 struct ldb_dn *base_dn; local 1108 struct ldb_dn *base_dn; local 1558 struct ldb_dn *base_dn; local 1955 struct ldb_dn *base_dn; local 2011 struct ldb_dn *base_dn; local [all...] |
H A D | sysdb_upgrade.c | 2043 struct ldb_dn *base_dn, 2056 ret = ldb_search(ldb, ctx, &objects, base_dn, 2085 struct ldb_dn *base_dn) 2100 return qualify_objects(ctx, ldb, names, base_dn, 2111 struct ldb_dn *base_dn) 2129 return qualify_objects(ctx, ldb, names, base_dn, true, 2137 struct ldb_dn *base_dn) 2148 return qualify_objects(ctx, ldb, names, base_dn, 2161 struct ldb_dn *base_dn) 2172 return qualify_objects(ctx, ldb, names, base_dn, 2040 qualify_objects(struct upgrade_ctx *ctx, struct ldb_context *ldb, struct sss_names_ctx *names, struct ldb_dn *base_dn, bool qualify_dn, const char *domain_attr, unsigned domain_index, const char *filter, const char *name_attrs[], const char *dn_attrs[], should_qualify_val_fn qfn) argument 2082 qualify_users(struct upgrade_ctx *ctx, struct ldb_context *ldb, struct sss_names_ctx *names, struct ldb_dn *base_dn) argument 2108 qualify_groups(struct upgrade_ctx *ctx, struct ldb_context *ldb, struct sss_names_ctx *names, struct ldb_dn *base_dn) argument 2134 qualify_user_overrides(struct upgrade_ctx *ctx, struct ldb_context *ldb, struct sss_names_ctx *names, struct ldb_dn *base_dn) argument 2158 qualify_group_overrides(struct upgrade_ctx *ctx, struct ldb_context *ldb, struct sss_names_ctx *names, struct ldb_dn *base_dn) argument 2178 qualify_sudo_rules(struct upgrade_ctx *ctx, struct ldb_context *ldb, struct sss_names_ctx *names, struct ldb_dn *base_dn) argument 2201 struct ldb_dn *base_dn; local 2326 struct ldb_dn *base_dn; local [all...] |
H A D | sysdb_views.c | 331 struct ldb_dn *base_dn; local 346 base_dn = ldb_dn_new(tmp_ctx, sysdb->ldb, SYSDB_BASE); 347 if (base_dn == NULL) { 394 ret = ldb_search(sysdb->ldb, tmp_ctx, &res, base_dn, LDB_SCOPE_SUBTREE, 415 ret = ldb_search(sysdb->ldb, tmp_ctx, &res, base_dn, LDB_SCOPE_SUBTREE, 1013 struct ldb_dn *base_dn; local 1025 base_dn = ldb_dn_new_fmt(tmp_ctx, domain->sysdb->ldb, 1027 if (base_dn == NULL) { 1041 ret = ldb_search(domain->sysdb->ldb, tmp_ctx, &override_res, base_dn, 1073 base_dn 1108 struct ldb_dn *base_dn; local 1258 struct ldb_dn *base_dn; local [all...] |
H A D | sysdb_ops.c | 266 struct ldb_dn *base_dn, 284 base_dn, scope, attrs, 306 struct ldb_dn *base_dn, 315 ret = sysdb_cache_search_entry(mem_ctx, sysdb->ldb, base_dn, scope, 327 struct ldb_dn *base_dn, 345 return sysdb_cache_search_entry(mem_ctx, sysdb->ldb_ts, base_dn, scope, 644 struct ldb_dn *base_dn; local 663 base_dn = sysdb_user_base_dn(tmp_ctx, domain); 665 base_dn = sysdb_base_dn(domain->sysdb, tmp_ctx); 667 if (base_dn 264 sysdb_cache_search_entry(TALLOC_CTX *mem_ctx, struct ldb_context *ldb, struct ldb_dn *base_dn, enum ldb_scope scope, const char *filter, const char **attrs, size_t *_msgs_count, struct ldb_message ***_msgs) argument 304 sysdb_search_entry(TALLOC_CTX *mem_ctx, struct sysdb_ctx *sysdb, struct ldb_dn *base_dn, enum ldb_scope scope, const char *filter, const char **attrs, size_t *_msgs_count, struct ldb_message ***_msgs) argument 325 sysdb_search_ts_entry(TALLOC_CTX *mem_ctx, struct sysdb_ctx *sysdb, struct ldb_dn *base_dn, enum ldb_scope scope, const char *filter, const char **attrs, size_t *_msgs_count, struct ldb_message ***_msgs) argument 1515 struct ldb_dn *base_dn; local 3548 sysdb_asq_search(TALLOC_CTX *mem_ctx, struct sss_domain_info *domain, struct ldb_dn *base_dn, const char *expression, const char *asq_attribute, const char **attrs, size_t *msgs_count, struct ldb_message ***msgs) argument 5263 struct ldb_dn *base_dn; local [all...] |
/sssd-io/src/responder/ifp/ |
H A D | ifp_cache.c | 37 struct ldb_dn *base_dn = NULL; local 41 base_dn = sysdb_user_base_dn(mem_ctx, domain); 44 base_dn = sysdb_group_base_dn(mem_ctx, domain); 48 return base_dn; 96 struct ldb_dn *base_dn; local 111 base_dn = ifp_cache_build_base_dn(tmp_ctx, type, domain); 112 if (base_dn == NULL) { 119 base_dn, LDB_SCOPE_SUBTREE, attrs,
|
/sssd-io/src/tests/cmocka/ |
H A D | common_mock_sdap.c | 117 const char *base_dn, 113 sdap_deref_search_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, const char *base_dn, const char *deref_attr, const char **attrs, int num_maps, struct sdap_attr_map_info *maps, int timeout) argument
|
H A D | common_mock_sysdb_objects.c | 120 const char *base_dn, 134 orig_dn = talloc_asprintf(attrs, "cn=%s,%s", name, base_dn); 167 const char *base_dn, 176 attrs = mock_sysdb_object(mem_ctx, base_dn, name, 197 const char *base_dn, 201 return mock_sysdb_object(mem_ctx, base_dn, name, 119 _mock_sysdb_object(TALLOC_CTX *mem_ctx, const char *base_dn, const char *name, ...) argument 166 mock_sysdb_group_rfc2307bis(TALLOC_CTX *mem_ctx, const char *base_dn, gid_t gid, const char *name, const char **members) argument 196 mock_sysdb_user(TALLOC_CTX *mem_ctx, const char *base_dn, uid_t uid, const char *name) argument
|
/sssd-io/src/providers/ |
H A D | be_refresh.c | 35 struct ldb_dn *base_dn, 61 ret = sysdb_search_entry(tmp_ctx, domain->sysdb, base_dn, 97 struct ldb_dn *base_dn = NULL; local 102 base_dn = sysdb_user_base_dn(mem_ctx, domain); 105 base_dn = sysdb_group_base_dn(mem_ctx, domain); 108 base_dn = sysdb_netgroup_base_dn(mem_ctx, domain); 115 if (base_dn == NULL) { 120 base_dn, SYSDB_NAME, _values); 122 talloc_free(base_dn); 32 be_refresh_get_values_ex(TALLOC_CTX *mem_ctx, struct sss_domain_info *domain, time_t period, struct ldb_dn *base_dn, const char *attr, char ***_values) argument
|
/sssd-io/src/providers/ipa/ |
H A D | ipa_rules_common.c | 35 struct ldb_dn *base_dn; local 47 base_dn = sysdb_custom_subtree_dn(tmp_ctx, domain, subdir); 48 if (base_dn == NULL) { 53 ret = sysdb_delete_recursive(domain->sysdb, base_dn, true); 231 struct ldb_dn *base_dn; local 239 base_dn = sysdb_custom_subtree_dn(tmp_ctx, domain, subtree_name); 240 if (base_dn == NULL) { 245 ret = sysdb_delete_recursive(domain->sysdb, base_dn, true);
|
H A D | ipa_deskprofile_rules_util.c | 338 const char *base_dn, 434 shortname, base_dn); 461 groups[j], base_dn); 512 const char *base_dn, 604 hostname, base_dn); 632 memberhostgroups[j], base_dn); 698 char *base_dn; local 785 ret = domain_to_basedn(tmp_ctx, domainname, &base_dn); 813 base_dn, username, 844 base_dn, hostnam 332 ipa_deskprofile_rule_check_memberuser( TALLOC_CTX *mem_ctx, struct sss_domain_info *domain, struct sysdb_attrs *rule, const char *rule_name, const char *rule_prio, const char *base_dn, const char *username, char **_user_prio, char **_group_prio) argument 507 ipa_deskprofile_rule_check_memberhost(TALLOC_CTX *mem_ctx, struct sss_domain_info *domain, struct sysdb_attrs *rule, const char *rule_name, const char *rule_prio, const char *base_dn, const char *hostname, char **_host_prio, char **_hostgroup_prio) argument [all...] |
H A D | ipa_id.c | 435 struct ldb_dn *base_dn; local 455 base_dn = sysdb_base_dn(sysdb, tmp_ctx); 456 if (base_dn == NULL) { 461 ret = sysdb_search_entry(tmp_ctx, sysdb, base_dn,
|
/sssd-io/src/providers/krb5/ |
H A D | krb5_renew_tgt.c | 397 struct ldb_dn *base_dn; local 406 base_dn = sysdb_base_dn(renew_tgt_ctx->be_ctx->domain->sysdb, tmp_ctx); 407 if (base_dn == NULL) { 413 ret = sysdb_search_entry(tmp_ctx, renew_tgt_ctx->be_ctx->domain->sysdb, base_dn,
|
/sssd-io/src/providers/ldap/ |
H A D | ldap_id_cleanup.c | 382 struct ldb_dn *base_dn; local 456 base_dn = sysdb_base_dn(sysdb, tmpctx); 457 if (base_dn == NULL) { 465 ret = sysdb_search_entry(tmpctx, sysdb, base_dn,
|
H A D | sdap_async.c | 1917 const char *base_dn, const char *filter, 1952 "Dereferencing entry [%s] using OpenLDAP deref\n", base_dn); 1953 subreq = sdap_get_generic_ext_send(state, ev, opts, sh, base_dn, 2151 const char *base_dn, int sd_flags, 2178 DEBUG(SSSDBG_TRACE_FUNC, "Searching entry [%s] using SD\n", base_dn); 2179 subreq = sdap_get_generic_ext_send(state, ev, opts, sh, base_dn, 2347 const char *base_dn, const char *deref_attr, 2377 DEBUG(SSSDBG_TRACE_FUNC, "Dereferencing entry [%s] using ASQ\n", base_dn); 2378 subreq = sdap_get_generic_ext_send(state, ev, opts, sh, base_dn, 2757 const char *base_dn; member in struct:sdap_deref_search_state 1915 sdap_x_deref_search_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, const char *base_dn, const char *filter, const char *deref_attr, const char **attrs, struct sdap_attr_map_info *maps, int num_maps, int timeout) argument 2149 sdap_sd_search_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, const char *base_dn, int sd_flags, const char **attrs, int timeout) argument 2345 sdap_asq_search_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, const char *base_dn, const char *deref_attr, const char **attrs, struct sdap_attr_map_info *maps, int num_maps, int timeout) argument 2834 sdap_deref_search_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, const char *base_dn, const char *deref_attr, const char **attrs, int num_maps, struct sdap_attr_map_info *maps, int timeout) argument [all...] |
H A D | sdap_async_groups.c | 43 struct ldb_dn *base_dn; local 68 base_dn = sysdb_domain_dn(tmpctx, domain); 69 if (!base_dn) { 76 base_dn, LDB_SCOPE_SUBTREE, filter, attrs,
|
/sssd-io/src/providers/files/ |
H A D | files_ops.c | 252 struct ldb_dn *base_dn; local 261 base_dn = sysdb_user_base_dn(tmp_ctx, dom); 262 if (base_dn == NULL) { 268 ret = sysdb_delete_recursive(dom->sysdb, base_dn, true); 356 struct ldb_dn *base_dn; local 387 base_dn = ldb_dn_new(tmp_ctx, ldb_ctx, SYSDB_TMPL_VIEW_BASE); 388 if (base_dn == NULL) { 394 ret = sysdb_search_entry(tmp_ctx, id_ctx->domain->sysdb, base_dn, 532 struct ldb_dn *base_dn; local 541 base_dn [all...] |
/sssd-io/src/tools/sssctl/ |
H A D | sssctl_cache.c | 240 struct ldb_dn *base_dn, 257 ret = sysdb_search_entry(tmp_ctx, sysdb, base_dn, LDB_SCOPE_SUBTREE, 362 struct ldb_dn *base_dn; local 381 base_dn = basedn_fn(tmp_ctx, dom); 382 if (base_dn == NULL) { 395 ret = sssctl_query_cache(tmp_ctx, dom->sysdb, base_dn, filter, 238 sssctl_query_cache(TALLOC_CTX *mem_ctx, struct sysdb_ctx *sysdb, struct ldb_dn *base_dn, const char *filter, const char **attrs, struct sysdb_attrs **_entry) argument
|
/sssd-io/src/providers/ad/ |
H A D | ad_id.c | 1010 struct ldb_dn *base_dn; local 1034 base_dn = sysdb_domain_dn(tmp_ctx, sd->dom); 1035 if (base_dn == NULL) { 1040 ret = sysdb_search_entry(tmp_ctx, sd->dom->sysdb, base_dn,
|
/sssd-io/src/tests/ |
H A D | sysdb-tests.c | 496 struct ldb_dn *base_dn; local 499 base_dn = ldb_dn_new_fmt(data, data->ctx->sysdb->ldb, SYSDB_TMPL_USER_BASE, 501 if (base_dn == NULL) { 505 ret = sysdb_search_entry(data, data->ctx->sysdb, base_dn, 4254 struct ldb_dn *base_dn; local 4260 base_dn = sysdb_netgroup_base_dn(test_ctx, test_ctx->domain); 4261 fail_if(base_dn == NULL, "Could not get netgroup base DN"); 4263 strdn = ldb_dn_get_linearized(base_dn); 5436 struct ldb_dn *base_dn; local 5481 base_dn 6017 struct ldb_dn *base_dn = NULL; local [all...] |