mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
Fix some more callers of PAC_DATA.
Guenther
This commit is contained in:
parent
3b0135d57e
commit
ea609d1b0e
@ -309,7 +309,7 @@ NTSTATUS ads_verify_ticket(TALLOC_CTX *mem_ctx,
|
||||
time_t time_offset,
|
||||
const DATA_BLOB *ticket,
|
||||
char **principal,
|
||||
PAC_DATA **pac_data,
|
||||
struct PAC_DATA **pac_data,
|
||||
DATA_BLOB *ap_rep,
|
||||
DATA_BLOB *session_key,
|
||||
bool use_replay_cache)
|
||||
|
@ -2519,8 +2519,8 @@ static int net_ads_kerberos_renew(int argc, const char **argv)
|
||||
|
||||
static int net_ads_kerberos_pac(int argc, const char **argv)
|
||||
{
|
||||
PAC_DATA *pac = NULL;
|
||||
PAC_LOGON_INFO *info = NULL;
|
||||
struct PAC_DATA *pac = NULL;
|
||||
struct PAC_LOGON_INFO *info = NULL;
|
||||
TALLOC_CTX *mem_ctx = NULL;
|
||||
NTSTATUS status;
|
||||
int ret = -1;
|
||||
@ -2551,7 +2551,9 @@ static int net_ads_kerberos_pac(int argc, const char **argv)
|
||||
|
||||
info = get_logon_info_from_pac(pac);
|
||||
if (info) {
|
||||
dump_pac_logon_info(0, info);
|
||||
const char *s;
|
||||
s = NDR_PRINT_STRUCT_STRING(mem_ctx, PAC_LOGON_INFO, info);
|
||||
d_printf("The Pac: %s\n", s);
|
||||
}
|
||||
|
||||
ret = 0;
|
||||
|
@ -1215,7 +1215,7 @@ static void manage_gss_spnego_request(struct ntlm_auth_state *state,
|
||||
char *principal;
|
||||
DATA_BLOB ap_rep;
|
||||
DATA_BLOB session_key;
|
||||
PAC_DATA *pac_data = NULL;
|
||||
struct PAC_DATA *pac_data = NULL;
|
||||
|
||||
if ( request.negTokenInit.mechToken.data == NULL ) {
|
||||
DEBUG(1, ("Client did not provide Kerberos data\n"));
|
||||
|
Loading…
Reference in New Issue
Block a user