summaryrefslogtreecommitdiff
path: root/source4/lib/cmdline/popt_common.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-09-20 21:29:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:31 -0500
commit65d4da0ff330740788c4386a71526b6ed3e10162 (patch)
treec9e4cdd692637af5128325b32ae9e57b7e839309 /source4/lib/cmdline/popt_common.c
parent9a1ceab6d60549f3c983dd1cf1f9a9ea2ba5dc79 (diff)
downloadsamba-65d4da0ff330740788c4386a71526b6ed3e10162.tar.gz
samba-65d4da0ff330740788c4386a71526b6ed3e10162.tar.bz2
samba-65d4da0ff330740788c4386a71526b6ed3e10162.zip
r10364: Turn gensec:gssapi on by default, except for a login of the form
-Udomain\\user. This will probably break in a few configurations, so please let me know. I'll also work to have a way to inhibit kerberos/ntlmssp, as this removes -k. Andrew Bartlett (This used to be commit 3c0dc570b86e79aea5446d7c3bb9750a11bf8ca4)
Diffstat (limited to 'source4/lib/cmdline/popt_common.c')
-rw-r--r--source4/lib/cmdline/popt_common.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/source4/lib/cmdline/popt_common.c b/source4/lib/cmdline/popt_common.c
index fe76292acb..43ea203b78 100644
--- a/source4/lib/cmdline/popt_common.c
+++ b/source4/lib/cmdline/popt_common.c
@@ -241,17 +241,7 @@ static void popt_common_credentials_callback(poptContext con,
cli_credentials_set_machine_account_pending(cmdline_credentials);
/* machine accounts only work with kerberos (fall though)*/
-
- case 'k':
-#ifndef HAVE_KRB5
- d_printf("No kerberos support compiled in\n");
- exit(1);
-#else
- lp_set_cmdline("gensec:krb5", "True");
-#endif
break;
-
-
}
}
@@ -261,7 +251,6 @@ struct poptOption popt_common_credentials[] = {
{ NULL, 0, POPT_ARG_CALLBACK|POPT_CBFLAG_PRE|POPT_CBFLAG_POST, popt_common_credentials_callback },
{ "user", 'U', POPT_ARG_STRING, NULL, 'U', "Set the network username", "[DOMAIN\\]USERNAME[%PASSWORD]" },
{ "no-pass", 'N', POPT_ARG_NONE, &dont_ask, True, "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" },
{ "machine-pass", 'P', POPT_ARG_NONE, NULL, 'P', "Use stored machine account password (implies -k)" },