git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04d79a9
)
use the username GUEST if no other username is available
author
Andrew Tridgell
<tridge@samba.org>
Fri, 16 Oct 1998 17:05:19 +0000
(17:05 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Fri, 16 Oct 1998 17:05:19 +0000
(17:05 +0000)
source/client/client.c
patch
|
blob
|
history
diff --git
a/source/client/client.c
b/source/client/client.c
index 9d205b3508bab0cf3d42fa217b57f28fa8d3bb61..1c0286fc5119f0cfd5389db3c44c8c176df85615 100644
(file)
--- a/
source/client/client.c
+++ b/
source/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);