summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/nmbd/nmbd.c2
-rw-r--r--source3/smbd/server.c2
2 files changed, 3 insertions, 1 deletions
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();