diff options
author | Pavel Březina <pbrezina@redhat.com> | 2013-04-11 13:47:54 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-05-02 16:48:12 +0200 |
commit | e653ff7a341dc8003dc12179d983f513c9789a5d (patch) | |
tree | ab362c621b298b18a97d0cecee7b1bb3e6308f3a /src/providers/ipa | |
parent | 9894b0fabc1720bd083538c2d818fcd88409cad7 (diff) | |
download | sssd-e653ff7a341dc8003dc12179d983f513c9789a5d.tar.gz sssd-e653ff7a341dc8003dc12179d983f513c9789a5d.tar.xz sssd-e653ff7a341dc8003dc12179d983f513c9789a5d.zip |
IPA SRV plugin: improve debugging
Diffstat (limited to 'src/providers/ipa')
-rw-r--r-- | src/providers/ipa/ipa_srv.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_srv.c b/src/providers/ipa/ipa_srv.c index b34230323..9b1c39945 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); } |