The Samba-Bugzilla – Attachment 4269 Details for
Bug 6305
Net, Inconsistent behaviour with -U flag
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Prompt for password in net if -U is specified but no password is given
0002-net-Prompt-for-password-if-U-is-given-but-no-passw.patch (text/plain), 689 bytes, created by
Kai Blin
on 2009-06-10 06:50:44 UTC
(
hide
)
Description:
Prompt for password in net if -U is specified but no password is given
Filename:
MIME Type:
Creator:
Kai Blin
Created:
2009-06-10 06:50:44 UTC
Size:
689 bytes
patch
obsolete
>From ed789e19911956192121509bc3655dfe17167e4f Mon Sep 17 00:00:00 2001 >From: Kai Blin <kai@samba.org> >Date: Wed, 10 Jun 2009 13:45:56 +0200 >Subject: [PATCH] net: Prompt for password if -U is given but no password is specified. > >--- > source3/utils/net.c | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > >diff --git a/source3/utils/net.c b/source3/utils/net.c >index d58858c..d5e10f7 100644 >--- a/source3/utils/net.c >+++ b/source3/utils/net.c >@@ -707,6 +707,9 @@ static struct functable net_func[] = { > if (p) { > *p = 0; > c->opt_password = p+1; >+ } else { >+ c->opt_password = net_prompt_pass(c, >+ c->opt_user_name); > } > break; > default: >-- >1.5.4.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6305
:
4149
|
4269
|
4295