summaryrefslogtreecommitdiffstats
path: root/source4/kdc/mit_samba.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-03-27 23:11:06 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-04-10 21:40:59 +1000
commitf2b63d58da895d11ed490dddd5df30c777369fad (patch)
treeebc5dc70d94fe1e1b0daa19f5513f7d0fca49dd8 /source4/kdc/mit_samba.c
parent1d59abc724a9ad01fdc61f3e6cfdf41c9f4cb910 (diff)
downloadsamba-f2b63d58da895d11ed490dddd5df30c777369fad.tar.gz
samba-f2b63d58da895d11ed490dddd5df30c777369fad.tar.xz
samba-f2b63d58da895d11ed490dddd5df30c777369fad.zip
s4:kdc Add functions to hdb-samba4 for the new s4u2self callback.
For now, this shares the 'if it's the same host' system with the constrained delegation code. Andrew Bartlett
Diffstat (limited to 'source4/kdc/mit_samba.c')
-rw-r--r--source4/kdc/mit_samba.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/kdc/mit_samba.c b/source4/kdc/mit_samba.c
index 3faa20938f..328124c409 100644
--- a/source4/kdc/mit_samba.c
+++ b/source4/kdc/mit_samba.c
@@ -351,10 +351,10 @@ static int mit_samba_check_s4u2proxy(struct mit_samba_context *ctx,
return ret;
}
- ret = samba_kdc_check_constrained_delegation(ctx->context,
- ctx->db_ctx,
- entry,
- target_principal);
+ ret = samba_kdc_check_identical_client_and_server(ctx->context,
+ ctx->db_ctx,
+ entry,
+ target_principal);
krb5_free_principal(ctx->context, target_principal);