mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s4:kdc: Add ‘samdb’ parameter to samba_kdc_get_device_info_blob()
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
29c230531c
commit
8b518817e3
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user