summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-02-12 15:06:23 +0000
committerAndrew Tridgell <tridge@samba.org>1998-02-12 15:06:23 +0000
commitc69bf905d7161c0180c3d5bf29209d4deb4f0877 (patch)
treeabbfa432c812cff877d420b6c83c62b6d8f9b2b1 /source
parent39c72aae58965cc176561cd4270f56ca40badc91 (diff)
downloadsamba-c69bf905d7161c0180c3d5bf29209d4deb4f0877.tar.gz
samba-c69bf905d7161c0180c3d5bf29209d4deb4f0877.tar.xz
samba-c69bf905d7161c0180c3d5bf29209d4deb4f0877.zip
apply logfile name fixes to 1.9.18 as well
Diffstat (limited to 'source')
-rw-r--r--source/nmbd/nmbd.c2
-rw-r--r--source/smbd/server.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/source/nmbd/nmbd.c b/source/nmbd/nmbd.c
index b6e4244cd01..d42580bcbd7 100644
--- a/source/nmbd/nmbd.c
+++ b/source/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/source/smbd/server.c b/source/smbd/server.c
index 0a6a05fdbfe..c2880b0e890 100644
--- a/source/smbd/server.c
+++ b/source/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();