summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/nmbd/nmbd_become_dmb.c13
-rw-r--r--source3/nmbd/nmbd_become_lmb.c12
2 files changed, 13 insertions, 12 deletions
diff --git a/source3/nmbd/nmbd_become_dmb.c b/source3/nmbd/nmbd_become_dmb.c
index 37fceb9bf1..d8788b7314 100644
--- a/source3/nmbd/nmbd_become_dmb.c
+++ b/source3/nmbd/nmbd_become_dmb.c
@@ -81,8 +81,8 @@ in workgroup %s on subnet %s\n",
bzero((char *)&work->dmb_name, sizeof(work->dmb_name));
putip((char *)&work->dmb_addr, &ipzero);
- DEBUG(0,("\n ***** Samba server %s has stopped being a domain master browser \
-for workgroup %s on subnet %s *****\n\n", myname, work->work_group, subrec->subnet_name));
+ DEBUG(0,("\n%s ***** Samba server %s has stopped being a domain master browser \
+for workgroup %s on subnet %s *****\n\n", timestring(), myname, work->work_group, subrec->subnet_name));
}
@@ -214,8 +214,9 @@ in workgroup %s on subnet %s\n",
/* Tell the namelist writer to write out a change. */
subrec->work_changed = True;
- DEBUG(0,("\n ***** Samba server %s is now a domain master browser \
-for workgroup %s on subnet %s *****\n\n", myname, work->work_group, subrec->subnet_name));
+ DEBUG(0,("\n%s ***** Samba server %s is now a domain master browser for \
+workgroup %s on subnet %s *****\n\n", timestring(),myname, work->work_group,
+subrec->subnet_name));
if(subrec == unicast_subnet)
{
@@ -312,9 +313,9 @@ Continuing with domain master code.\n",
}
else
{
- DEBUG(0,("become_domain_master_query_success: There is already a domain \
+ DEBUG(0,("%s become_domain_master_query_success: There is already a domain \
master browser at IP %s for workgroup %s registered on subnet %s.\n",
- inet_ntoa(ip), nmbname->name, subrec->subnet_name));
+ timestring(), inet_ntoa(ip), nmbname->name, subrec->subnet_name));
}
}
diff --git a/source3/nmbd/nmbd_become_lmb.c b/source3/nmbd/nmbd_become_lmb.c
index 6dcd61d76c..2d9f2cce55 100644
--- a/source3/nmbd/nmbd_become_lmb.c
+++ b/source3/nmbd/nmbd_become_lmb.c
@@ -145,8 +145,8 @@ void unbecome_local_master_success(struct subnet_record *subrec,
/* Now reset the workgroup and server state. */
reset_workgroup_state( subrec, released_name->name );
- DEBUG(0,("\n***** Samba name server %s has stopped being a local master browser for workgroup %s \
-on subnet %s *****\n\n", myname, released_name->name, subrec->subnet_name));
+ DEBUG(0,("\n%s ***** Samba name server %s has stopped being a local master browser for workgroup %s \
+on subnet %s *****\n\n", timestring(), myname, released_name->name, subrec->subnet_name));
}
@@ -170,8 +170,8 @@ Removing from namelist anyway.\n", namestr(fail_name)));
/* Now reset the workgroup and server state. */
reset_workgroup_state( subrec, fail_name->name );
- DEBUG(0,("\n***** Samba name server %s has stopped being a local master browser for workgroup %s \
-on subnet %s *****\n\n", myname, fail_name->name, subrec->subnet_name));
+ DEBUG(0,("\n%s ***** Samba name server %s has stopped being a local master browser for workgroup %s \
+on subnet %s *****\n\n", timestring(), myname, fail_name->name, subrec->subnet_name));
}
@@ -365,8 +365,8 @@ on subnet %s\n", work->work_group, subrec->subnet_name));
master browser as soon as possible that we are a local master browser. */
reset_announce_timer();
- DEBUG(0,("\n***** Samba name server %s is now a local master browser for workgroup %s \
-on subnet %s *****\n\n", myname, work->work_group, subrec->subnet_name));
+ DEBUG(0,("\n%s ***** Samba name server %s is now a local master browser for workgroup %s \
+on subnet %s *****\n\n", timestring(), myname, work->work_group, subrec->subnet_name));
}