summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/smb.h4
-rw-r--r--source3/nmbd/nmbd.c2
-rw-r--r--source3/smbd/server.c2
-rw-r--r--source3/wrepld/server.c4
4 files changed, 8 insertions, 4 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 61d2237b2d..922864ecff 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -27,6 +27,10 @@
#ifndef _SMB_H
#define _SMB_H
+/* logged when starting the various Samba daemons */
+#define COPYRIGHT_STARTUP_MESSAGE "Copyright Andrew Tridgell and the Samba Team 1992-2005"
+
+
#if defined(LARGE_SMB_OFF_T)
#define BUFFER_SIZE (128*1024)
#else /* no large readwrite possible */
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index fcaba03b3d..086878e221 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -720,7 +720,7 @@ static BOOL open_sockets(BOOL isdaemon, int port)
reopen_logs();
DEBUG( 0, ( "Netbios nameserver version %s started.\n", SAMBA_VERSION_STRING) );
- DEBUGADD( 0, ( "Copyright Andrew Tridgell and the Samba Team 1994-2004\n" ) );
+ 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 8310b408d0..1bf9dbc374 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -803,7 +803,7 @@ void build_options(BOOL screen);
reopen_logs();
DEBUG(0,( "smbd version %s started.\n", SAMBA_VERSION_STRING));
- DEBUGADD(0,( "Copyright Andrew Tridgell and the Samba Team 1992-2004\n"));
+ 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/wrepld/server.c b/source3/wrepld/server.c
index 59708dc8ba..5ac78a2474 100644
--- a/source3/wrepld/server.c
+++ b/source3/wrepld/server.c
@@ -590,8 +590,8 @@ static void process(void)
reopen_logs();
- DEBUG(1,( "wrepld version %s started.\n", SAMBA_VERSION_STRING));
- DEBUGADD(1,( "Copyright Andrew Tridgell and the Samba Team 1992-2004\n"));
+ DEBUG(0,( "wrepld 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()));