From b005fa142f2c3846960e39d1977f1cb2ef5a2f35 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 28 Jun 2011 18:22:25 +0200 Subject: 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 Autobuild-Date: Tue Jun 28 20:35:19 CEST 2011 on sn-devel-104 --- source4/kdc/mit_samba.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source4/kdc/mit_samba.c') 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 = { -- cgit