Skip to content

Commit

Permalink
FIXUP covscan error COPY_PASTE_ERROR
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-stephenson committed Nov 5, 2024
1 parent f50cd8a commit 85a4fb8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/providers/ipa/ipa_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,7 @@ ipa_set_search_bases(struct ipa_options *ipa_opts,

ldb = sysdb_ctx_get_ldb(ipa_opts->id->dp->be_ctx->domain->sysdb);

if (NULL == dp_opt_get_string(ipa_opts->basic, SDAP_SEARCH_BASE)) {
/* FIXME: get values by querying IPA */
/* set search base */
if (NULL == dp_opt_get_string(sdap_opts->basic, SDAP_SEARCH_BASE)) {
value = talloc_asprintf(tmpctx, "cn=accounts,%s", basedn);
if (!value) {
ret = ENOMEM;
Expand Down

0 comments on commit 85a4fb8

Please sign in to comment.