summaryrefslogtreecommitdiff
path: root/source4/heimdal/lib/gssapi/mech
diff options
context:
space:
mode:
Diffstat (limited to 'source4/heimdal/lib/gssapi/mech')
-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) {