summaryrefslogtreecommitdiffstats
path: root/source3/libads
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2005-11-22 10:22:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:29 -0500
commit90603cb3cddcab3c7577cdad81e4a134c39de4ce (patch)
tree860c6892a3068552e6abcc0a93604c4149ba5157 /source3/libads
parente98a396b768f2966306c8c4a3f6037e3a7547af7 (diff)
downloadsamba-90603cb3cddcab3c7577cdad81e4a134c39de4ce.tar.gz
samba-90603cb3cddcab3c7577cdad81e4a134c39de4ce.tar.xz
samba-90603cb3cddcab3c7577cdad81e4a134c39de4ce.zip
r11846: Destroy the TALLOC_CTX on error in the Kerberos session setup and give a
more precise inline comment why PAC verification may fail. Guenther (This used to be commit 43b57715e9b44a0a0c7cc7fe3674a5fd4369e78b)
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/kerberos_verify.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libads/kerberos_verify.c b/source3/libads/kerberos_verify.c
index f21577d0802..220bf14e32c 100644
--- a/source3/libads/kerberos_verify.c
+++ b/source3/libads/kerberos_verify.c
@@ -400,9 +400,9 @@ NTSTATUS ads_verify_ticket(TALLOC_CTX *mem_ctx,
file_save("/tmp/ticket.dat", ticket->data, ticket->length);
#endif
- /* continue when no PAC is retrieved
- (like accounts that have the UF_NO_AUTH_DATA_REQUIRED flag set,
- or Kerberos tickets encryped using a DES key) - Guenther */
+ /* continue when no PAC is retrieved or we couldn't decode the PAC
+ (like accounts that have the UF_NO_AUTH_DATA_REQUIRED flag set, or
+ Kerberos tickets encrypted using a DES key) - Guenther */
got_auth_data = get_auth_data_from_tkt(mem_ctx, &auth_data, tkt);
if (!got_auth_data) {