svn commit: samba r2376 - in branches/SAMBA_4_0/source/libcli/auth:
.
tridge at samba.org
tridge at samba.org
Fri Sep 17 06:33:19 GMT 2004
Author: tridge
Date: 2004-09-17 06:33:19 +0000 (Fri, 17 Sep 2004)
New Revision: 2376
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/libcli/auth&rev=2376&nolog=1
Log:
added a way to disable krb5 on the command line. Just use
--option 'gensec:krb5=no'
or put "gensec:krb5 = no" in smb.conf
Given the frustration I've had with kerberos I was very tempted to name
this option --nfk, but resisted the temptation
Modified:
branches/SAMBA_4_0/source/libcli/auth/gensec_krb5.c
Changeset:
Modified: branches/SAMBA_4_0/source/libcli/auth/gensec_krb5.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/auth/gensec_krb5.c 2004-09-17 01:13:54 UTC (rev 2375)
+++ branches/SAMBA_4_0/source/libcli/auth/gensec_krb5.c 2004-09-17 06:33:19 UTC (rev 2376)
@@ -720,6 +720,11 @@
NTSTATUS gensec_krb5_init(void)
{
NTSTATUS ret;
+
+ if (!lp_parm_bool(-1, "gensec", "krb5", True)) {
+ return NT_STATUS_NOT_SUPPORTED;
+ }
+
ret = register_backend("gensec", &gensec_krb5_security_ops);
if (!NT_STATUS_IS_OK(ret)) {
DEBUG(0,("Failed to register '%s' gensec backend!\n",
More information about the samba-cvs
mailing list