mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s4:kdc: samba_kdc_fetch_client() only needs sdb_entry
sdb_entry_ex will be removed shortly. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
e528c93c54
commit
b8c738a956
@ -1915,9 +1915,8 @@ static krb5_error_code samba_kdc_fetch_client(krb5_context context,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
krb5_const_principal principal,
|
||||
unsigned flags,
|
||||
struct sdb_entry_ex *entry_ex)
|
||||
struct sdb_entry *entry)
|
||||
{
|
||||
struct sdb_entry *entry = &entry_ex->entry;
|
||||
struct ldb_dn *realm_dn;
|
||||
krb5_error_code ret;
|
||||
struct ldb_message *msg = NULL;
|
||||
@ -2502,7 +2501,7 @@ krb5_error_code samba_kdc_fetch(krb5_context context,
|
||||
ret = SDB_ERR_NOENTRY;
|
||||
|
||||
if (flags & SDB_F_GET_CLIENT) {
|
||||
ret = samba_kdc_fetch_client(context, kdc_db_ctx, mem_ctx, principal, flags, entry_ex);
|
||||
ret = samba_kdc_fetch_client(context, kdc_db_ctx, mem_ctx, principal, flags, entry);
|
||||
if (ret != SDB_ERR_NOENTRY) goto done;
|
||||
}
|
||||
if (flags & SDB_F_GET_SERVER) {
|
||||
|
Loading…
Reference in New Issue
Block a user