summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2002-04-30 09:11:23 +0000
committerJean-François Micouleau <jfm@samba.org>2002-04-30 09:11:23 +0000
commit7f2080ba2b30eec14d6559de30d929dc7f75512e (patch)
tree2a8c32cba65cf686aaf63f8ca9f5a0e2671e48c9
parent67f2bdd3c56af56c85fb7b4c47fd6bdcae61616b (diff)
downloadsamba-7f2080ba2b30eec14d6559de30d929dc7f75512e.tar.gz
samba-7f2080ba2b30eec14d6559de30d929dc7f75512e.tar.bz2
samba-7f2080ba2b30eec14d6559de30d929dc7f75512e.zip
changed more DEBUG level from 0 to higher.
J.F. (This used to be commit 7955a7b0c92bdb175978d42d3eeb05f8923a8e5a)
-rw-r--r--source3/wrepld/partners.c18
-rw-r--r--source3/wrepld/process.c2
-rw-r--r--source3/wrepld/server.c2
3 files changed, 11 insertions, 11 deletions
diff --git a/source3/wrepld/partners.c b/source3/wrepld/partners.c
index 11f8e3ffee..2387f5b45f 100644
--- a/source3/wrepld/partners.c
+++ b/source3/wrepld/partners.c
@@ -32,7 +32,7 @@ BOOL check_partner(int assoc)
{
int i;
- DEBUG(0,("check_partner: total_current_partners: %d\n", total_current_partners));
+ DEBUG(5,("check_partner: total_current_partners: %d\n", total_current_partners));
for (i=0; i<total_current_partners; i++)
if (current_partners[i].client_assoc==assoc)
@@ -46,7 +46,7 @@ add a new entry to the list
********************************************************************/
BOOL add_partner(int client_assoc, int server_assoc, BOOL pull, BOOL push)
{
- DEBUG(0,("add_partner: total_current_partners: %d\n", total_current_partners));
+ DEBUG(5,("add_partner: total_current_partners: %d\n", total_current_partners));
if (total_current_partners==64)
return False;
@@ -68,7 +68,7 @@ BOOL remove_partner(int client_assoc)
{
int i,j;
- DEBUG(0,("remove_partner: total_current_partners: %d\n", total_current_partners));
+ DEBUG(5,("remove_partner: total_current_partners: %d\n", total_current_partners));
for (i=0; current_partners[i].client_assoc!=client_assoc && i<total_current_partners; i++)
;
@@ -97,7 +97,7 @@ BOOL update_server_partner(int client_assoc, int server_assoc)
{
int i;
- DEBUG(0,("update_server_partner: total_current_partners: %d\n", total_current_partners));
+ DEBUG(5,("update_server_partner: total_current_partners: %d\n", total_current_partners));
for (i=0; i<total_current_partners; i++)
if (current_partners[i].client_assoc==client_assoc) {
@@ -115,7 +115,7 @@ BOOL check_pull_partner(int assoc)
{
int i;
- DEBUG(0,("check_pull_partner: total_current_partners: %d\n", total_current_partners));
+ DEBUG(5,("check_pull_partner: total_current_partners: %d\n", total_current_partners));
for (i=0; i<total_current_partners; i++)
if (current_partners[i].client_assoc==assoc &&
@@ -132,7 +132,7 @@ BOOL check_push_partner(int assoc)
{
int i;
- DEBUG(0,("check_push_partner: total_current_partners: %d\n", total_current_partners));
+ DEBUG(5,("check_push_partner: total_current_partners: %d\n", total_current_partners));
for (i=0; i<total_current_partners; i++)
if (current_partners[i].client_assoc==assoc &&
@@ -149,7 +149,7 @@ int get_server_assoc(int assoc)
{
int i;
- DEBUG(0,("get_server_assoc: total_current_partners: %d\n", total_current_partners));
+ DEBUG(5,("get_server_assoc: total_current_partners: %d\n", total_current_partners));
for (i=0; i<total_current_partners; i++)
if (current_partners[i].client_assoc==assoc)
@@ -166,7 +166,7 @@ BOOL write_server_assoc_table(int client_assoc, struct in_addr partner, struct i
{
int i;
- DEBUG(0,("write_server_assoc_table: total_current_partners: %d\n", total_current_partners));
+ DEBUG(5,("write_server_assoc_table: total_current_partners: %d\n", total_current_partners));
for (i=0; i<total_current_partners; i++)
if (current_partners[i].client_assoc==client_assoc) {
@@ -185,7 +185,7 @@ BOOL get_server_assoc_table(int client_assoc, struct in_addr *partner, struct in
{
int i;
- DEBUG(0,("get_server_assoc_table: total_current_partners: %d\n", total_current_partners));
+ DEBUG(5,("get_server_assoc_table: total_current_partners: %d\n", total_current_partners));
for (i=0; i<total_current_partners; i++)
if (current_partners[i].client_assoc==client_assoc) {
diff --git a/source3/wrepld/process.c b/source3/wrepld/process.c
index 4327e39b75..e07496ed1d 100644
--- a/source3/wrepld/process.c
+++ b/source3/wrepld/process.c
@@ -155,7 +155,7 @@ int init_wins_partner_table(void)
char **partner = lp_list_make(lp_wins_partners());
if (partner==NULL) {
- DEBUG(0,("wrepld: no partner list, exiting\n"));
+ DEBUG(0,("wrepld: no partner list in smb.conf, exiting\n"));
exit_server("normal exit");
return(0);
}
diff --git a/source3/wrepld/server.c b/source3/wrepld/server.c
index f06fdf1190..740003035c 100644
--- a/source3/wrepld/server.c
+++ b/source3/wrepld/server.c
@@ -263,7 +263,7 @@ static BOOL create_listen_fdset(void)
set_socket_options(s,user_socket_options);
if (listen(s, 5) == -1) {
- DEBUG(0,("listen: %s\n",strerror(errno)));
+ DEBUG(5,("listen: %s\n",strerror(errno)));
close(s);
return False;
}