diff options
Diffstat (limited to 'source3/libads')
-rw-r--r-- | source3/libads/authdata.c | 3 | ||||
-rw-r--r-- | source3/libads/kerberos_verify.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/source3/libads/authdata.c b/source3/libads/authdata.c index 305b6072bc..00062f4457 100644 --- a/source3/libads/authdata.c +++ b/source3/libads/authdata.c @@ -406,7 +406,8 @@ NTSTATUS kerberos_return_pac(TALLOC_CTX *mem_ctx, return NT_STATUS_INVALID_LOGON_TYPE; } - ret = cli_krb5_get_ticket(local_service, + ret = cli_krb5_get_ticket(mem_ctx, + local_service, time_offset, &tkt, &sesskey1, diff --git a/source3/libads/kerberos_verify.c b/source3/libads/kerberos_verify.c index c07259394b..10edd076bb 100644 --- a/source3/libads/kerberos_verify.c +++ b/source3/libads/kerberos_verify.c @@ -615,7 +615,8 @@ NTSTATUS ads_verify_ticket(TALLOC_CTX *mem_ctx, ZERO_STRUCT(packet); } - get_krb5_smb_session_key(context, auth_context, session_key, True); + get_krb5_smb_session_key(mem_ctx, context, + auth_context, session_key, true); dump_data_pw("SMB session key (from ticket)\n", session_key->data, session_key->length); #if 0 |