diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/client/client.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index 9d205b3508..1c0286fc51 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -3897,6 +3897,11 @@ static void usage(char *pname) strupper(username); } + if (*username == 0) + { + pstrcpy(username,"GUEST"); + } + if (argc < 2) { usage(pname); |