summaryrefslogtreecommitdiffstats
path: root/src/providers/ipa/ipa_init.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-05-25 16:23:50 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-07-11 16:52:52 -0400
commit7e2de117961fe247d8aa16af2ab762990965c239 (patch)
tree99f67226c8f192bf9abf74c2e3384e7a1e2cc21c /src/providers/ipa/ipa_init.c
parent19c6d0bf5346dc1862d14f7f3d886895cfb4d548 (diff)
downloadsssd-7e2de117961fe247d8aa16af2ab762990965c239.tar.gz
sssd-7e2de117961fe247d8aa16af2ab762990965c239.tar.xz
sssd-7e2de117961fe247d8aa16af2ab762990965c239.zip
Check DNS records before updating
https://fedorahosted.org/sssd/ticket/802
Diffstat (limited to 'src/providers/ipa/ipa_init.c')
-rw-r--r--src/providers/ipa/ipa_init.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/providers/ipa/ipa_init.c b/src/providers/ipa/ipa_init.c
index 8f7d4d61f..5d08b8c18 100644
--- a/src/providers/ipa/ipa_init.c
+++ b/src/providers/ipa/ipa_init.c
@@ -149,11 +149,9 @@ int sssm_ipa_id_init(struct be_ctx *bectx,
/* nsupdate is available. Dynamic updates
* are supported
*/
- ret = be_add_online_cb(ctx, ctx->be,
- ipa_dyndns_update,
- ipa_options, NULL);
+ ret = ipa_dyndns_init(ctx, ctx->be, ipa_options);
if (ret != EOK) {
- DEBUG(1,("Failure setting up automatic DNS update\n"));
+ DEBUG(1, ("Failure setting up automatic DNS update\n"));
/* We will continue without DNS updating */
}
}