summaryrefslogtreecommitdiff
path: root/source4/heimdal
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-11-07 12:50:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:25:06 -0500
commit14b00f10d9279b580c8bc6479b9e0402a74daf11 (patch)
treea9644d89c68ac6f6d96fb355201a36c3bfd952e8 /source4/heimdal
parent6f9bed3d3eb71666d8418bcab992d878eadca0c7 (diff)
downloadsamba-14b00f10d9279b580c8bc6479b9e0402a74daf11.tar.gz
samba-14b00f10d9279b580c8bc6479b9e0402a74daf11.tar.bz2
samba-14b00f10d9279b580c8bc6479b9e0402a74daf11.zip
r19616: the heimdal spnego mech doesn't seem to use roken.h and isn't portable
(it doesn't compile on suse 10.1 because gethostname() isn't found, unistd.h isn't included...) as we don't need the spnego mech, disable it till it gets fixed in heimdal metze (This used to be commit 0a52e11a9c34281c9ea284e007086b2ae6fce6c7)
Diffstat (limited to 'source4/heimdal')
-rw-r--r--source4/heimdal/lib/gssapi/mech/gss_mech_switch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/heimdal/lib/gssapi/mech/gss_mech_switch.c b/source4/heimdal/lib/gssapi/mech/gss_mech_switch.c
index 3d01ba69d4..b6f261fe29 100644
--- a/source4/heimdal/lib/gssapi/mech/gss_mech_switch.c
+++ b/source4/heimdal/lib/gssapi/mech/gss_mech_switch.c
@@ -213,7 +213,9 @@ _gss_load_mech(void)
}
add_builtin(__gss_krb5_initialize());
+#ifndef _SAMBA_BUILD_
add_builtin(__gss_spnego_initialize());
+#endif
fp = fopen(_PATH_GSS_MECH, "r");
if (!fp) {