1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

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 commit is contained in:
Andrew Tridgell 0001-01-01 00:00:00 +00:00
parent 7123405d63
commit b7712a0a6d
2 changed files with 3 additions and 1 deletions

View File

@ -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() )
{

View File

@ -5239,6 +5239,8 @@ static void usage(char *pname)
strcpy(debugf,SMBLOGFILE);
strcpy(remote_machine, "smb");
setup_logging(argv[0],False);
charset_initialise();