summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-05-20 14:59:34 -0700
committerJeremy Allison <jra@samba.org>2010-05-20 14:59:34 -0700
commit2bbf055dbb15ea99b80ae66adc906ad5494a3999 (patch)
tree2eac2c9a06636783aa5498d9ac74c753d67888f2 /source4/lib
parent2d46e07c47418fdec5239d65032277c7917a44a4 (diff)
downloadsamba-2bbf055dbb15ea99b80ae66adc906ad5494a3999.tar.gz
samba-2bbf055dbb15ea99b80ae66adc906ad5494a3999.tar.bz2
samba-2bbf055dbb15ea99b80ae66adc906ad5494a3999.zip
Make -k a simple non-bool option.
Jeremy.
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/cmdline/popt_credentials.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source4/lib/cmdline/popt_credentials.c b/source4/lib/cmdline/popt_credentials.c
index 80f71eb417..384024fd8b 100644
--- a/source4/lib/cmdline/popt_credentials.c
+++ b/source4/lib/cmdline/popt_credentials.c
@@ -103,15 +103,6 @@ static void popt_common_credentials_callback(poptContext con,
case OPT_KERBEROS:
{
bool use_kerberos = true;
- /* Force us to only use kerberos */
- if (arg) {
- if (!set_boolean(arg, &use_kerberos)) {
- fprintf(stderr, "Error parsing -k %s\n", arg);
- exit(1);
- break;
- }
- }
-
cli_credentials_set_kerberos_state(cmdline_credentials,
use_kerberos
? CRED_MUST_USE_KERBEROS