git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
-N option still prompted for password in smbclient -L usage
[samba.git]
/
source3
/
client
/
client.c
diff --git
a/source3/client/client.c
b/source3/client/client.c
index 94518bee8775cb5cfa7e668a0d7e0f81383b84aa..798dfe577e728c89396c9167fd0279279a25f750 100644
(file)
--- a/
source3/client/client.c
+++ b/
source3/client/client.c
@@
-40,6
+40,7
@@
extern pstring username;
extern pstring workgroup;
char *cmdstr="";
extern BOOL got_pass;
extern pstring workgroup;
char *cmdstr="";
extern BOOL got_pass;
+extern BOOL no_pass;
extern BOOL connect_as_printer;
extern BOOL connect_as_ipc;
extern struct in_addr ipzero;
extern BOOL connect_as_printer;
extern BOOL connect_as_ipc;
extern struct in_addr ipzero;
@@
-3699,6
+3700,7
@@
static void usage(char *pname)
break;
case 'N':
got_pass = True;
break;
case 'N':
got_pass = True;
+ no_pass = True;
break;
case 'P':
connect_as_printer = True;
break;
case 'P':
connect_as_printer = True;