From c04291ae995b65935ef9581bfd95eebaf4354c1d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 12 Feb 1998 14:57:55 +0000 Subject: make the initial logfile names consistent. This should mean that smbd starts with log.smb and nmbd starts with log.nmb. It also gets rid of the "log." when using the log.%m construct as %m expands to smb before a client connects. (This used to be commit b7712a0a6d0afeef6239d5af61cba677eebb247b) --- source3/nmbd/nmbd.c | 2 +- source3/smbd/server.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index b6e4244cd0..d42580bcbd 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -204,7 +204,7 @@ BOOL reload_services(BOOL test) BOOL ret; extern fstring remote_machine; - strcpy( remote_machine, "nmbd" ); + strcpy( remote_machine, "nmb" ); if ( lp_loaded() ) { diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 0a6a05fdbf..c2880b0e89 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -5239,6 +5239,8 @@ static void usage(char *pname) strcpy(debugf,SMBLOGFILE); + strcpy(remote_machine, "smb"); + setup_logging(argv[0],False); charset_initialise(); -- cgit