From: Joseph Sutton Date: Tue, 3 Oct 2023 01:58:52 +0000 (+1300) Subject: s4:kdc: Add ‘samdb’ parameter to samba_kdc_get_device_info_blob() X-Git-Tag: tevent-0.16.0~136 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8b518817e3fdc7df16ce37093e7fa0fdca7cd8a0;p=thirdparty%2Fsamba.git s4:kdc: Add ‘samdb’ parameter to samba_kdc_get_device_info_blob() Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/source4/kdc/pac-glue.c b/source4/kdc/pac-glue.c index dc50e4cb146..5b1f3c6a055 100644 --- a/source4/kdc/pac-glue.c +++ b/source4/kdc/pac-glue.c @@ -2035,6 +2035,7 @@ static krb5_error_code samba_kdc_create_device_info_blob(TALLOC_CTX *mem_ctx, static krb5_error_code samba_kdc_get_device_info_blob(TALLOC_CTX *mem_ctx, krb5_context context, + struct ldb_context *samdb, struct samba_kdc_entry *device, DATA_BLOB **device_info_blob) { @@ -2455,6 +2456,7 @@ krb5_error_code samba_kdc_update_pac(TALLOC_CTX *mem_ctx, /* Also regenerate device info. */ code = samba_kdc_get_device_info_blob(tmp_ctx, context, + samdb, device.entry, &device_info_blob); if (code != 0) {