From: Joseph Sutton Date: Thu, 10 Aug 2023 22:08:57 +0000 (+1200) Subject: s4:kdc: Return krb5_error_code X-Git-Tag: tevent-0.16.0~984 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d6ebfe4e33d71546d3f8705be18f1224c3474a7;p=thirdparty%2Fsamba.git s4:kdc: Return krb5_error_code Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/source4/kdc/pac-glue.c b/source4/kdc/pac-glue.c index 368cd23844d..0eae0145ffb 100644 --- a/source4/kdc/pac-glue.c +++ b/source4/kdc/pac-glue.c @@ -743,16 +743,16 @@ bool samba_princ_needs_pac(const struct samba_kdc_entry *skdc_entry) return true; } -static int samba_client_requested_pac(krb5_context context, - const krb5_const_pac pac, - TALLOC_CTX *mem_ctx, - bool *requested_pac) +static krb5_error_code samba_client_requested_pac(krb5_context context, + const krb5_const_pac pac, + TALLOC_CTX *mem_ctx, + bool *requested_pac) { enum ndr_err_code ndr_err; krb5_data k5pac_attrs_in; DATA_BLOB pac_attrs_in; union PAC_INFO pac_attrs; - int ret; + krb5_error_code ret; *requested_pac = true;