The branch, v3-4-test has been updated via 47baa5de907c0162dec079c3636e7728f93c8b2f (commit) from 9d7b8b29854beafed4ec70b2db1d26dc3786cc71 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test - Log ----------------------------------------------------------------- commit 47baa5de907c0162dec079c3636e7728f93c8b2f Author: Jeremy Allison <j...@samba.org> Date: Thu Jul 30 08:55:01 2009 +0200 s3/cldap: Improve debug messages. This patch was made to debug bug #6437. ----------------------------------------------------------------------- Summary of changes: source3/libads/cldap.c | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/libads/cldap.c b/source3/libads/cldap.c index d66e35c..ae087d9 100644 --- a/source3/libads/cldap.c +++ b/source3/libads/cldap.c @@ -151,14 +151,19 @@ static int recv_cldap_netlogon(TALLOC_CTX *mem_ctx, } if (ret == 0) { - DEBUG(1,("no reply received to cldap netlogon\n")); + DEBUG(1,("no reply received to cldap netlogon " + "(select timeout %u sec)\n", + (unsigned int)timeout.tv_sec)); data_blob_free(&blob); return -1; } ret = read(sock, blob.data, blob.length); if (ret <= 0) { - DEBUG(1,("no reply received to cldap netlogon\n")); + DEBUG(1,("no reply received to cldap netlogon " + "(ret = %d: Error = %s)\n", + ret, + ret == -1 ? strerror(errno) : "" )); data_blob_free(&blob); return -1; } @@ -251,8 +256,10 @@ bool ads_cldap_netlogon(TALLOC_CTX *mem_ctx, sock = open_udp_socket(server, LDAP_PORT ); if (sock == -1) { - DEBUG(2,("ads_cldap_netlogon: Failed to open udp socket to %s\n", - server)); + DEBUG(2,("ads_cldap_netlogon: Failed to open udp socket to %s. " + "Error %s\n", + server, + strerror(errno) )); return False; } -- Samba Shared Repository