diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-09-19 12:31:33 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-09-19 13:36:02 -0700 |
commit | 1555659e7801c1f924dcd58d1c277dbe1191deb0 (patch) | |
tree | 5b3c0372f703b97ee76222c144691b61e9609e3a /source4 | |
parent | dfedbaeb055acb0d7abf74b9534308149a018ee4 (diff) | |
download | samba-1555659e7801c1f924dcd58d1c277dbe1191deb0.tar.gz samba-1555659e7801c1f924dcd58d1c277dbe1191deb0.tar.bz2 samba-1555659e7801c1f924dcd58d1c277dbe1191deb0.zip |
s4-cldap: improved debug msgs in finddcs_cldap()
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libcli/finddcs_cldap.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source4/libcli/finddcs_cldap.c b/source4/libcli/finddcs_cldap.c index b8cc5cb146..b7a8324c0f 100644 --- a/source4/libcli/finddcs_cldap.c +++ b/source4/libcli/finddcs_cldap.c @@ -167,7 +167,7 @@ static void finddcs_cldap_next_server(struct finddcs_cldap_state *state) if (state->srv_addresses[state->srv_address_index] == NULL) { tevent_req_nterror(state->req, NT_STATUS_OBJECT_NAME_NOT_FOUND); - DEBUG(2,("No matching CLDAP server found\n")); + DEBUG(2,("finddcs: No matching CLDAP server found\n")); return; } @@ -248,10 +248,12 @@ static void finddcs_cldap_name_resolved(struct composite_context *ctx) status = resolve_name_recv(ctx, state, &address); if (tevent_req_nterror(state->req, status)) { - DEBUG(2,("No matching NBT <1c> server found\n")); + DEBUG(2,("finddcs: No matching NBT <1c> server found\n")); return; } + DEBUG(4,("finddcs: Found NBT <1c> server at %s\n", address)); + state->srv_addresses = talloc_array(state, const char *, 2); if (tevent_req_nomem(state->srv_addresses, state->req)) { return; @@ -281,7 +283,7 @@ static void finddcs_cldap_srv_resolved(struct composite_context *ctx) status = resolve_name_multiple_recv(ctx, state, &state->srv_addresses); if (tevent_req_nterror(state->req, status)) { - DEBUG(2,("Failed to find SRV record for %s\n", state->srv_name)); + DEBUG(2,("finddcs: Failed to find SRV record for %s\n", state->srv_name)); return; } |