summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/events.c4
-rw-r--r--source3/nsswitch/winbindd_cache.c6
-rw-r--r--source3/nsswitch/winbindd_cm.c2
-rw-r--r--source3/nsswitch/winbindd_dual.c2
-rw-r--r--source3/nsswitch/winbindd_pam.c2
5 files changed, 7 insertions, 9 deletions
diff --git a/source3/lib/events.c b/source3/lib/events.c
index 314f074979..3670d960aa 100644
--- a/source3/lib/events.c
+++ b/source3/lib/events.c
@@ -84,7 +84,7 @@ void run_events(void)
if (timed_events == NULL) {
/* No syscall if there are no events */
- DEBUG(10, ("run_events: No events\n"));
+ DEBUG(11, ("run_events: No events\n"));
return;
}
@@ -92,7 +92,7 @@ void run_events(void)
if (timeval_compare(&now, &timed_events->when) < 0) {
/* Nothing to do yet */
- DEBUG(10, ("run_events: Nothing to do\n"));
+ DEBUG(11, ("run_events: Nothing to do\n"));
return;
}
diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c
index 297c608bc1..799818198c 100644
--- a/source3/nsswitch/winbindd_cache.c
+++ b/source3/nsswitch/winbindd_cache.c
@@ -1650,8 +1650,8 @@ static NTSTATUS trusted_domains(struct winbindd_domain *domain,
status = centry->status;
- DEBUG(10,("trusted_domains: [Cached] - cached info for domain %s status %s\n",
- domain->name, get_friendly_nt_error_msg(status) ));
+ DEBUG(10,("trusted_domains: [Cached] - cached info for domain %s (%d trusts) status %s\n",
+ domain->name, *num_domains, get_friendly_nt_error_msg(status) ));
centry_free(centry);
return status;
@@ -1958,8 +1958,6 @@ void cache_cleanup_response(pid_t pid)
if (!init_wcache())
return;
- DEBUG(10,("Cleaning up response for pid %d\n", pid));
-
fstr_sprintf(key_str, "DR/%d", pid);
tdb_delete(wcache->tdb, string_tdb_data(key_str));
diff --git a/source3/nsswitch/winbindd_cm.c b/source3/nsswitch/winbindd_cm.c
index 568078f86e..9a1831e545 100644
--- a/source3/nsswitch/winbindd_cm.c
+++ b/source3/nsswitch/winbindd_cm.c
@@ -1273,7 +1273,7 @@ NTSTATUS cm_connect_lsa(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx,
/* Fall back to schannel if it's a W2K pre-SP1 box. */
if (!cm_get_schannel_dcinfo(domain, &p_dcinfo)) {
- DEBUG(10, ("cm_connect_sam: Could not get schannel auth info "
+ DEBUG(10, ("cm_connect_lsa: Could not get schannel auth info "
"for domain %s, trying anon\n", conn->cli->domain));
goto anonymous;
}
diff --git a/source3/nsswitch/winbindd_dual.c b/source3/nsswitch/winbindd_dual.c
index 1988f36b51..56a7afec9f 100644
--- a/source3/nsswitch/winbindd_dual.c
+++ b/source3/nsswitch/winbindd_dual.c
@@ -697,7 +697,7 @@ static BOOL fork_domain_child(struct winbindd_child *child)
ret = sys_select(state.sock + 1, &read_fds, NULL, NULL, tp);
if (ret == 0) {
- DEBUG(10,("nothing is ready yet, continue\n"));
+ DEBUG(11,("nothing is ready yet, continue\n"));
continue;
}
diff --git a/source3/nsswitch/winbindd_pam.c b/source3/nsswitch/winbindd_pam.c
index 264134570a..499f225d2c 100644
--- a/source3/nsswitch/winbindd_pam.c
+++ b/source3/nsswitch/winbindd_pam.c
@@ -549,7 +549,7 @@ static NTSTATUS winbindd_raw_kerberos_login(struct winbindd_domain *domain,
}
DEBUG(10,("winbindd_raw_kerberos_login: winbindd validated ticket of %s\n",
- client_princ));
+ local_service));
if (!pac_data) {
DEBUG(3,("winbindd_raw_kerberos_login: no pac data\n"));