diff options
author | Pavel Reichl <preichl@redhat.com> | 2015-07-23 04:40:03 -0400 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-08-14 23:54:32 +0200 |
commit | 7c3cc1ee2914bc7b38a992c1af254fc76af5a1ad (patch) | |
tree | 086c3d57cd310feee8903abf4e6cf0e95043ef22 /src/providers | |
parent | 8145ab51b05aa86b2f1a21b49383f55e50b0a2e3 (diff) | |
download | sssd-7c3cc1ee2914bc7b38a992c1af254fc76af5a1ad.tar.gz sssd-7c3cc1ee2914bc7b38a992c1af254fc76af5a1ad.tar.xz sssd-7c3cc1ee2914bc7b38a992c1af254fc76af5a1ad.zip |
DYNDNS: Don't use server cmd in nsupdate by default
nsupdate command `server` should not be used for the first attempt
to udpate DNS. It should be used only in subsequent attempts after the
first attempt failed.
Resolves:
https://fedorahosted.org/sssd/ticket/2495
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/providers')
-rw-r--r-- | src/providers/ldap/sdap_dyndns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_dyndns.c b/src/providers/ldap/sdap_dyndns.c index 01f4f1722..0f0e63ee2 100644 --- a/src/providers/ldap/sdap_dyndns.c +++ b/src/providers/ldap/sdap_dyndns.c @@ -112,10 +112,10 @@ sdap_dyndns_update_send(TALLOC_CTX *mem_ctx, state->auth_type = auth_type; state->pass_num = 0; + /* fallback servername is overriden by user option */ conf_servername = dp_opt_get_string(opts, DP_OPT_DYNDNS_SERVER); if (conf_servername != NULL) { state->servername = conf_servername; - state->use_server_with_nsupdate = true; } if (ifname) { |