summaryrefslogtreecommitdiff
path: root/source3/client/client.c
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>1998-02-26 20:41:05 +0000
committerHerb Lewis <herb@samba.org>1998-02-26 20:41:05 +0000
commitb3d9fe61f3085bb47fe8c0c31f51871824db3407 (patch)
treee5c65c0473a13917d515330f3c9b221d0ce3dd8e /source3/client/client.c
parentde3badf479eb08c19d4abc0625488effc79dc1fd (diff)
downloadsamba-b3d9fe61f3085bb47fe8c0c31f51871824db3407.tar.gz
samba-b3d9fe61f3085bb47fe8c0c31f51871824db3407.tar.bz2
samba-b3d9fe61f3085bb47fe8c0c31f51871824db3407.zip
-N option still prompted for password in smbclient -L usage
(This used to be commit 140fba461bc22f26055c13b04a084d2df16ac604)
Diffstat (limited to 'source3/client/client.c')
-rw-r--r--source3/client/client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 94518bee87..798dfe577e 100644
--- 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 BOOL no_pass;
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;
+ no_pass = True;
break;
case 'P':
connect_as_printer = True;