1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

added timestrings to become and unbecome domain/local master browser

messages.
(This used to be commit 5e7e3d18b51e1eb949bc793d3106a17d8e65a1af)
This commit is contained in:
Herb Lewis 1998-01-03 03:35:13 +00:00
parent 19d7833b7a
commit d018d7b42a
2 changed files with 13 additions and 12 deletions

View File

@ -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));
}
}

View File

@ -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));
}