mirror of
https://github.com/samba-team/samba.git
synced 2025-02-10 13:57:47 +03:00
r6388: BUG 2626: ensure that the calling_name is set to something after parsing smb.conf (if not set via -n)
This commit is contained in:
parent
81f30bf598
commit
97c68ec1e8
@ -3472,6 +3472,8 @@ static int do_message_op(void)
|
||||
|
||||
if ( strlen(calling_name) != 0 )
|
||||
set_global_myname( calling_name );
|
||||
else
|
||||
pstrcpy( calling_name, global_myname() );
|
||||
|
||||
if(poptPeekArg(pc)) {
|
||||
pstrcpy(service,poptGetArg(pc));
|
||||
|
Loading…
x
Reference in New Issue
Block a user