From 851ef9e22f5f58202b0c5594b4432941afb0e130 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 30 Oct 2007 15:44:27 +0100 Subject: start smbd, nmbd and winbindd with the same startup message at debug level 0. metze (This used to be commit 95f76ae7a52c6b22db22d03fed6b0848d2a61bee) --- source3/nmbd/nmbd.c | 4 ++-- source3/smbd/server.c | 4 ++-- source3/winbindd/winbindd.c | 5 ++--- 3 files changed, 6 insertions(+), 7 deletions(-) (limited to 'source3') diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index c6be4914da..6fadefe682 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -812,8 +812,8 @@ static bool open_sockets(bool isdaemon, int port) reopen_logs(); - DEBUG( 0, ( "Netbios nameserver version %s started.\n", SAMBA_VERSION_STRING) ); - DEBUGADD( 0, ( "%s\n", COPYRIGHT_STARTUP_MESSAGE ) ); + DEBUG(0,("nmbd version %s started.\n", SAMBA_VERSION_STRING)); + DEBUGADD(0,("%s\n", COPYRIGHT_STARTUP_MESSAGE)); if ( !reload_nmbd_services(False) ) return(-1); diff --git a/source3/smbd/server.c b/source3/smbd/server.c index bcf997f2d2..b9ab7ef7ac 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -1057,8 +1057,8 @@ extern void build_options(bool screen); reopen_logs(); - DEBUG(0,( "smbd version %s started.\n", SAMBA_VERSION_STRING)); - DEBUGADD( 0, ( "%s\n", COPYRIGHT_STARTUP_MESSAGE ) ); + DEBUG(0,("smbd version %s started.\n", SAMBA_VERSION_STRING)); + DEBUGADD(0,("%s\n", COPYRIGHT_STARTUP_MESSAGE)); DEBUG(2,("uid=%d gid=%d euid=%d egid=%d\n", (int)getuid(),(int)getgid(),(int)geteuid(),(int)getegid())); diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c index 8449795e13..ee993efca5 100644 --- a/source3/winbindd/winbindd.c +++ b/source3/winbindd/winbindd.c @@ -1091,9 +1091,8 @@ int main(int argc, char **argv, char **envp) setup_logging("winbindd", log_stdout); reopen_logs(); - DEBUG(1, ("winbindd version %s started.\n%s\n", - SAMBA_VERSION_STRING, - COPYRIGHT_STARTUP_MESSAGE) ); + DEBUG(0,("winbindd version %s started.\n", SAMBA_VERSION_STRING)); + DEBUGADD(0,("%s\n", COPYRIGHT_STARTUP_MESSAGE)); if (!reload_services_file()) { DEBUG(0, ("error opening config file\n")); -- cgit