summaryrefslogtreecommitdiff
path: root/source4/auth/gensec
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2012-04-21 16:35:48 -0400
committerSimo Sorce <idra@samba.org>2012-04-23 16:40:49 -0400
commitf7070c90b94954835478a09e89a85c03f0f85500 (patch)
tree855be9bce58a0d27c6a771833a308a73d69fa322 /source4/auth/gensec
parent110dad8c9eb95e6729e589b52ef204d369803bdb (diff)
downloadsamba-f7070c90b94954835478a09e89a85c03f0f85500.tar.gz
samba-f7070c90b94954835478a09e89a85c03f0f85500.tar.bz2
samba-f7070c90b94954835478a09e89a85c03f0f85500.zip
For now just disable this Heindal specific stuff in the MIT build
Diffstat (limited to 'source4/auth/gensec')
-rw-r--r--source4/auth/gensec/gensec_gssapi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/auth/gensec/gensec_gssapi.c b/source4/auth/gensec/gensec_gssapi.c
index 7de15c8673..efd8443760 100644
--- a/source4/auth/gensec/gensec_gssapi.c
+++ b/source4/auth/gensec/gensec_gssapi.c
@@ -434,8 +434,10 @@ static NTSTATUS gensec_gssapi_update(struct gensec_security *gensec_security,
return nt_status;
}
+#ifdef SAMBA4_USES_HEIMDAL
send_to_kdc.func = smb_krb5_send_and_recv_func;
send_to_kdc.ptr = ev;
+#endif
min_stat = gsskrb5_set_send_to_kdc(&send_to_kdc);
if (min_stat) {
@@ -460,8 +462,10 @@ static NTSTATUS gensec_gssapi_update(struct gensec_security *gensec_security,
gensec_gssapi_state->gss_oid = gss_oid_p;
}
+#ifdef SAMBA4_USES_HEIMDAL
send_to_kdc.func = smb_krb5_send_and_recv_func;
send_to_kdc.ptr = NULL;
+#endif
ret = gsskrb5_set_send_to_kdc(&send_to_kdc);
if (ret) {