summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-12-06 19:06:34 -0800
committerJeremy Allison <jra@samba.org>2007-12-06 19:06:34 -0800
commite7781bd20ff807019d5f7d116ea0eaf440889e9b (patch)
treeedd80892511926416ccba876277e988065ad8358
parent77652360ec78807bbd2c7989bc9ea06943a6b2d1 (diff)
downloadsamba-e7781bd20ff807019d5f7d116ea0eaf440889e9b.tar.gz
samba-e7781bd20ff807019d5f7d116ea0eaf440889e9b.tar.bz2
samba-e7781bd20ff807019d5f7d116ea0eaf440889e9b.zip
Fix the '-N' option.
Jeremy. (This used to be commit b91b61b54f02f11d80fc25b268faa354fcd1f6e0)
-rw-r--r--source3/lib/popt_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/popt_common.c b/source3/lib/popt_common.c
index bd8410a958..78d81fa530 100644
--- a/source3/lib/popt_common.c
+++ b/source3/lib/popt_common.c
@@ -532,7 +532,7 @@ static void popt_common_credentials_callback(poptContext con,
struct poptOption popt_common_credentials[] = {
{ NULL, 0, POPT_ARG_CALLBACK|POPT_CBFLAG_PRE, (void *)popt_common_credentials_callback },
{ "user", 'U', POPT_ARG_STRING, NULL, 'U', "Set the network username", "USERNAME" },
- { "no-pass", 'N', POPT_ARG_NONE, NULL, 0, "Don't ask for a password" },
+ { "no-pass", 'N', POPT_ARG_NONE, NULL, 'N', "Don't ask for a password" },
{ "kerberos", 'k', POPT_ARG_NONE, NULL, 'k', "Use kerberos (active directory) authentication" },
{ "authentication-file", 'A', POPT_ARG_STRING, NULL, 'A', "Get the credentials from a file", "FILE" },
{ "signing", 'S', POPT_ARG_STRING, NULL, 'S', "Set the client signing state", "on|off|required" },