summaryrefslogtreecommitdiffstats
path: root/source4/kdc/mit_samba.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-06-28 18:22:25 +0200
committerStefan Metzmacher <metze@samba.org>2011-06-28 20:35:18 +0200
commitb005fa142f2c3846960e39d1977f1cb2ef5a2f35 (patch)
tree7d6c6b80d2b0c375df7bcd306dec8ed80d842e16 /source4/kdc/mit_samba.c
parent73b1e1466cb3a2f3cadc2865b0226a48b3ff6f27 (diff)
downloadsamba-b005fa142f2c3846960e39d1977f1cb2ef5a2f35.tar.gz
samba-b005fa142f2c3846960e39d1977f1cb2ef5a2f35.tar.xz
samba-b005fa142f2c3846960e39d1977f1cb2ef5a2f35.zip
s4:kdc/mit_samba: disable mit_samba_check_s4u2proxy()
As mit_samba_update_pac_data() doesn't support adding S4U_DELEGATION_INFO to the pac (and I have no clue how to add that) we should disable S4U2Proxy until this is implemented. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jun 28 20:35:19 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4/kdc/mit_samba.c')
-rw-r--r--source4/kdc/mit_samba.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/kdc/mit_samba.c b/source4/kdc/mit_samba.c
index 4905a19d99..06ee46eac0 100644
--- a/source4/kdc/mit_samba.c
+++ b/source4/kdc/mit_samba.c
@@ -316,6 +316,14 @@ static int mit_samba_check_s4u2proxy(struct mit_samba_context *ctx,
const char *target_name,
bool is_nt_enterprise_name)
{
+#if 1
+ /*
+ * This is disabled because mit_samba_update_pac_data() does not handle
+ * S4U_DELEGATION_INFO
+ */
+
+ return KRB5KDC_ERR_BADOPTION;
+#else
krb5_principal target_principal;
int flags = 0;
int ret;
@@ -338,6 +346,7 @@ static int mit_samba_check_s4u2proxy(struct mit_samba_context *ctx,
krb5_free_principal(ctx->context, target_principal);
return ret;
+#endif
}
struct mit_samba_function_table mit_samba_function_table = {