diff options
Diffstat (limited to 'src/providers/ipa/ipa_dyndns.c')
-rw-r--r-- | src/providers/ipa/ipa_dyndns.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/providers/ipa/ipa_dyndns.c b/src/providers/ipa/ipa_dyndns.c index 83009ff2a..e7026eb27 100644 --- a/src/providers/ipa/ipa_dyndns.c +++ b/src/providers/ipa/ipa_dyndns.c @@ -153,9 +153,7 @@ ipa_dyndns_update_send(struct ipa_options *ctx) struct ipa_dyndns_update_state *state; struct tevent_req *req, *subreq; struct sdap_id_ctx *sdap_ctx = ctx->id_ctx->sdap_id_ctx; - char *dns_zone; const char *servername; - int i; DEBUG(SSSDBG_TRACE_FUNC, "Performing update\n"); @@ -175,19 +173,6 @@ ipa_dyndns_update_send(struct ipa_options *ctx) } state->ipa_ctx->dyndns_ctx->last_refresh = time(NULL); - dns_zone = dp_opt_get_string(ctx->basic, IPA_DOMAIN); - if (!dns_zone) { - ret = EIO; - goto done; - } - - /* The DNS zone for IPA is the lower-case - * version of the IPA domain - */ - for (i = 0; dns_zone[i] != '\0'; i++) { - dns_zone[i] = tolower(dns_zone[i]); - } - if (strncmp(ctx->service->sdap->uri, "ldap://", 7) != 0) { DEBUG(SSSDBG_CRIT_FAILURE, "Unexpected format of LDAP URI.\n"); @@ -209,7 +194,6 @@ ipa_dyndns_update_send(struct ipa_options *ctx) DP_OPT_DYNDNS_IFACE), dp_opt_get_string(ctx->basic, IPA_HOSTNAME), - dns_zone, dp_opt_get_string(ctx->basic, IPA_KRB5_REALM), servername, |