summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/auth/auth_domain.c2
-rw-r--r--source3/lib/messages.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c
index 38b48d85ad..af353ef812 100644
--- a/source3/auth/auth_domain.c
+++ b/source3/auth/auth_domain.c
@@ -92,8 +92,6 @@ static NTSTATUS connect_to_domain_password_server(struct cli_state **cli,
return NT_STATUS_UNSUCCESSFUL;
}
- DEBUG(10,("connect_to_domain_password_server: got mutex for %s\n", server));
-
/* Attempt connection */
result = cli_full_connection(cli, global_myname, server,
&dest_ip, 0, "IPC$", "IPC", "", "", "", 0);
diff --git a/source3/lib/messages.c b/source3/lib/messages.c
index 7d0da4b158..8602c2f32d 100644
--- a/source3/lib/messages.c
+++ b/source3/lib/messages.c
@@ -508,6 +508,9 @@ BOOL message_named_mutex(char *name, unsigned int timeout)
return False;
}
+ if (ret == 0)
+ DEBUG(10,("message_named_mutex: got mutex for %s\n", name ));
+
return (ret == 0);
}
@@ -525,6 +528,7 @@ void message_named_mutex_release(char *name)
key.dsize = strlen(name)+1;
tdb_chainunlock(tdb, key);
+ DEBUG(10,("message_named_mutex: released mutex for %s\n", name ));
}
/** @} **/