mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s4:kdc: expose a sdb_entry_to_krb5_db_entry() function
We'll remove sdb_entry_ex soon. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
c2eb50861d
commit
cd295a8979
@ -227,9 +227,9 @@ static void free_krb5_db_entry(krb5_context context,
|
||||
ZERO_STRUCTP(k);
|
||||
}
|
||||
|
||||
static int sdb_entry_ex_to_krb5_db_entry(krb5_context context,
|
||||
const struct sdb_entry *s,
|
||||
krb5_db_entry *k)
|
||||
int sdb_entry_to_krb5_db_entry(krb5_context context,
|
||||
const struct sdb_entry *s,
|
||||
krb5_db_entry *k)
|
||||
{
|
||||
struct samba_kdc_entry *ske = s->skdc_entry;
|
||||
krb5_error_code ret;
|
||||
@ -321,5 +321,5 @@ int sdb_entry_ex_to_kdb_entry_ex(krb5_context context,
|
||||
const struct sdb_entry_ex *s,
|
||||
krb5_db_entry *k)
|
||||
{
|
||||
return sdb_entry_ex_to_krb5_db_entry(context, &s->entry, k);
|
||||
return sdb_entry_to_krb5_db_entry(context, &s->entry, k);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user