diff options
Diffstat (limited to 'source3/nmbd/nmbd_logonnames.c')
-rw-r--r-- | source3/nmbd/nmbd_logonnames.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/source3/nmbd/nmbd_logonnames.c b/source3/nmbd/nmbd_logonnames.c index dbbb8defaf..4486fb2840 100644 --- a/source3/nmbd/nmbd_logonnames.c +++ b/source3/nmbd/nmbd_logonnames.c @@ -156,9 +156,13 @@ void add_logon_names(void) if (find_name_on_subnet(subrec, &nmbname, FIND_SELF_NAME) == NULL) { - DEBUG(0,("add_domain_logon_names: At time %s attempting to become \ -logon server for workgroup %s on subnet %s\n", timestring(), global_myworkgroup, - subrec->subnet_name)); + if( DEBUGLVL( 0 ) ) + { + dbgtext( "add_domain_logon_names:\n" ); + dbgtext( "Attempting to become logon server " ); + dbgtext( "for workgroup %s ", global_myworkgroup ); + dbgtext( "on subnet %s\n", subrec->subnet_name ); + } become_logon_server(subrec, work); } } |