summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-12-02 18:27:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:17 -0500
commit64b516b10546619d3b1adef7fcc4cfef3ad610f9 (patch)
treeed55e190612e6c1f2fadf0c16e24b39917197cb2 /source4/lib
parent00948a80724ccfe1454bc40fcfcdc2287b4e3f31 (diff)
downloadsamba-64b516b10546619d3b1adef7fcc4cfef3ad610f9.tar.gz
samba-64b516b10546619d3b1adef7fcc4cfef3ad610f9.tar.bz2
samba-64b516b10546619d3b1adef7fcc4cfef3ad610f9.zip
r4045: readd krb5 support defaulted to disable
use: gensec:krb5=yes gensec:ms_krb5=yes to enable it or -k on the client tools on the command line metze (This used to be commit 0ae5794cf44933d2554e0356baaca24c7a784f71)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/cmdline/popt_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/cmdline/popt_common.c b/source4/lib/cmdline/popt_common.c
index 6422b84b44..c7bd35cbab 100644
--- a/source4/lib/cmdline/popt_common.c
+++ b/source4/lib/cmdline/popt_common.c
@@ -373,6 +373,8 @@ static void popt_common_credentials_callback(poptContext con,
#else
cmdline_auth_info.use_kerberos = True;
cmdline_auth_info.got_pass = True;
+ lp_set_cmdline("gensec:krb5", "True");
+ lp_set_cmdline("gensec:ms_krb5", "True");
#endif
break;