(check_transited): explain the TR-type 0 better and why it matters.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16308 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-11-29 14:14:26 +00:00
parent d7b6e1f223
commit ca1a379a41

View File

@@ -136,7 +136,11 @@ check_transited(krb5_context context, Ticket *ticket, EncTicketPart *enc)
int num_realms;
krb5_error_code ret;
/* Windows w2k and w2k3 uses this */
/*
* Windows 2000 and 2003 uses this inside their TGT so its normaly
* not seen by others, however, samba4 joined with a Windows AD as
* a Domain Controller gets exposed to this.
*/
if(enc->transited.tr_type == 0 && enc->transited.contents.length == 0)
return 0;