mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
s4:kdc: Rename ‘skdc_entry’ parameter of samba_kdc_get_user_info_dc() to ‘entry’
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
f03b14f8b8
commit
9c4647436c
@ -1151,14 +1151,14 @@ NTSTATUS samba_kdc_get_claims_blob(TALLOC_CTX *mem_ctx,
|
|||||||
}
|
}
|
||||||
|
|
||||||
NTSTATUS samba_kdc_get_user_info_dc(TALLOC_CTX *mem_ctx,
|
NTSTATUS samba_kdc_get_user_info_dc(TALLOC_CTX *mem_ctx,
|
||||||
struct samba_kdc_entry *skdc_entry,
|
struct samba_kdc_entry *entry,
|
||||||
struct auth_user_info_dc **user_info_dc_out)
|
struct auth_user_info_dc **user_info_dc_out)
|
||||||
{
|
{
|
||||||
NTSTATUS nt_status;
|
NTSTATUS nt_status;
|
||||||
const struct auth_user_info_dc *user_info_dc_from_db = NULL;
|
const struct auth_user_info_dc *user_info_dc_from_db = NULL;
|
||||||
struct auth_user_info_dc *user_info_dc = NULL;
|
struct auth_user_info_dc *user_info_dc = NULL;
|
||||||
|
|
||||||
nt_status = samba_kdc_get_user_info_from_db(skdc_entry, skdc_entry->msg, &user_info_dc_from_db);
|
nt_status = samba_kdc_get_user_info_from_db(entry, entry->msg, &user_info_dc_from_db);
|
||||||
if (!NT_STATUS_IS_OK(nt_status)) {
|
if (!NT_STATUS_IS_OK(nt_status)) {
|
||||||
DBG_ERR("Getting user info for PAC failed: %s\n",
|
DBG_ERR("Getting user info for PAC failed: %s\n",
|
||||||
nt_errstr(nt_status));
|
nt_errstr(nt_status));
|
||||||
|
@ -112,7 +112,7 @@ NTSTATUS samba_kdc_get_user_info_from_db(struct samba_kdc_entry *entry,
|
|||||||
const struct auth_user_info_dc **info_out);
|
const struct auth_user_info_dc **info_out);
|
||||||
|
|
||||||
NTSTATUS samba_kdc_get_user_info_dc(TALLOC_CTX *mem_ctx,
|
NTSTATUS samba_kdc_get_user_info_dc(TALLOC_CTX *mem_ctx,
|
||||||
struct samba_kdc_entry *skdc_entry,
|
struct samba_kdc_entry *entry,
|
||||||
struct auth_user_info_dc **user_info_dc_out);
|
struct auth_user_info_dc **user_info_dc_out);
|
||||||
|
|
||||||
krb5_error_code samba_kdc_map_policy_err(NTSTATUS nt_status);
|
krb5_error_code samba_kdc_map_policy_err(NTSTATUS nt_status);
|
||||||
|
Loading…
Reference in New Issue
Block a user