summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2013-04-11 13:47:54 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-05-02 16:48:12 +0200
commite653ff7a341dc8003dc12179d983f513c9789a5d (patch)
treeab362c621b298b18a97d0cecee7b1bb3e6308f3a
parent9894b0fabc1720bd083538c2d818fcd88409cad7 (diff)
downloadsssd-e653ff7a341dc8003dc12179d983f513c9789a5d.tar.gz
sssd-e653ff7a341dc8003dc12179d983f513c9789a5d.tar.bz2
sssd-e653ff7a341dc8003dc12179d983f513c9789a5d.zip
IPA SRV plugin: improve debugging
-rw-r--r--src/providers/ipa/ipa_srv.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_srv.c b/src/providers/ipa/ipa_srv.c
index b3423032..9b1c3994 100644
--- a/src/providers/ipa/ipa_srv.c
+++ b/src/providers/ipa/ipa_srv.c
@@ -132,6 +132,9 @@ struct tevent_req *ipa_srv_plugin_send(TALLOC_CTX *mem_ctx,
goto immediately;
}
+ DEBUG(SSSDBG_TRACE_FUNC, ("About to discover primary and "
+ "backup servers\n"));
+
subreq = fo_discover_servers_send(state, ev, ctx->resolv_ctx, service,
protocol, primary_domain, backup_domain);
if (subreq == NULL) {
@@ -170,6 +173,9 @@ static void ipa_srv_plugin_done(struct tevent_req *subreq)
return;
}
+ DEBUG(SSSDBG_TRACE_FUNC, ("Got %lu primary and %lu backup servers\n",
+ state->num_primary_servers, state->num_backup_servers));
+
tevent_req_done(req);
}