1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-30 17:49:30 +03:00

Fix some more callers of PAC_DATA.

Guenther
This commit is contained in:
Günther Deschner
2008-02-17 02:01:30 +01:00
parent 3b0135d57e
commit ea609d1b0e
3 changed files with 7 additions and 5 deletions

View File

@ -309,7 +309,7 @@ NTSTATUS ads_verify_ticket(TALLOC_CTX *mem_ctx,
time_t time_offset, time_t time_offset,
const DATA_BLOB *ticket, const DATA_BLOB *ticket,
char **principal, char **principal,
PAC_DATA **pac_data, struct PAC_DATA **pac_data,
DATA_BLOB *ap_rep, DATA_BLOB *ap_rep,
DATA_BLOB *session_key, DATA_BLOB *session_key,
bool use_replay_cache) bool use_replay_cache)

View File

@ -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) static int net_ads_kerberos_pac(int argc, const char **argv)
{ {
PAC_DATA *pac = NULL; struct PAC_DATA *pac = NULL;
PAC_LOGON_INFO *info = NULL; struct PAC_LOGON_INFO *info = NULL;
TALLOC_CTX *mem_ctx = NULL; TALLOC_CTX *mem_ctx = NULL;
NTSTATUS status; NTSTATUS status;
int ret = -1; 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); info = get_logon_info_from_pac(pac);
if (info) { 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; ret = 0;

View File

@ -1215,7 +1215,7 @@ static void manage_gss_spnego_request(struct ntlm_auth_state *state,
char *principal; char *principal;
DATA_BLOB ap_rep; DATA_BLOB ap_rep;
DATA_BLOB session_key; DATA_BLOB session_key;
PAC_DATA *pac_data = NULL; struct PAC_DATA *pac_data = NULL;
if ( request.negTokenInit.mechToken.data == NULL ) { if ( request.negTokenInit.mechToken.data == NULL ) {
DEBUG(1, ("Client did not provide Kerberos data\n")); DEBUG(1, ("Client did not provide Kerberos data\n"));