summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-09-10 03:37:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:36 -0500
commitb49dc085afe744c17c064ea8086c523aca663933 (patch)
treeb3a57f1c5ae6b5bf54f07374394068d18122ef9f /source4
parent1c3bfc270ac3c6cb407776d586bcd3872b45967c (diff)
downloadsamba-b49dc085afe744c17c064ea8086c523aca663933.tar.gz
samba-b49dc085afe744c17c064ea8086c523aca663933.tar.bz2
samba-b49dc085afe744c17c064ea8086c523aca663933.zip
r2272: fixed another couple of errors in the popt option arrays
(This used to be commit 89acbf4f02ae03f0546e1633c030765a563ce958)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/cmdline/popt_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/cmdline/popt_common.c b/source4/lib/cmdline/popt_common.c
index 7acdb34bba..51018facb8 100644
--- a/source4/lib/cmdline/popt_common.c
+++ b/source4/lib/cmdline/popt_common.c
@@ -389,8 +389,8 @@ static void popt_common_credentials_callback(poptContext con,
struct poptOption popt_common_credentials[] = {
{ NULL, 0, POPT_ARG_CALLBACK|POPT_CBFLAG_PRE, popt_common_credentials_callback },
{ "user", 'U', POPT_ARG_STRING, NULL, 'U', "Set the network username", "USERNAME" },
- { "no-pass", 'N', POPT_ARG_NONE, &cmdline_auth_info.got_pass, True, "Don't ask for a password" },
- { "kerberos", 'k', POPT_ARG_NONE, &cmdline_auth_info.use_kerberos, True, "Use kerberos (active directory) authentication" },
+ { "no-pass", 'N', POPT_ARG_NONE, &cmdline_auth_info.got_pass, 0, "Don't ask for a password" },
+ { "kerberos", 'k', POPT_ARG_NONE, &cmdline_auth_info.use_kerberos, '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" },
{ "machine-pass", 'P', POPT_ARG_NONE, NULL, 'P', "Use stored machine account password" },