summaryrefslogtreecommitdiffstats
path: root/src/providers
diff options
context:
space:
mode:
authorPavel Reichl <preichl@redhat.com>2015-07-23 04:40:03 -0400
committerJakub Hrozek <jhrozek@redhat.com>2015-08-14 23:54:32 +0200
commit7c3cc1ee2914bc7b38a992c1af254fc76af5a1ad (patch)
tree086c3d57cd310feee8903abf4e6cf0e95043ef22 /src/providers
parent8145ab51b05aa86b2f1a21b49383f55e50b0a2e3 (diff)
downloadsssd-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.c2
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) {