+2004-10-07 Jeffrey Altman <jaltman@mit.edu>
+ * cc_mslsa.c: Fix the forced setting of the Initial Ticket Flag
+ on Win2000 and add it to XP and 2003 SP1
+
2004-09-17 Jeffrey Altman <jaltman@mit.edu>
* cc_mslsa.c: Fix the error returned when krb5_lcc_start_seq_get()
discovers the cache is empty. Check for the new error in
* to us.
*/
if ( tktinfo->TicketFlags & KERB_TICKET_FLAGS_initial )
- (*ticket)->TicketFlags &= KERB_TICKET_FLAGS_initial;
+ (*ticket)->TicketFlags |= KERB_TICKET_FLAGS_initial;
return(TRUE);
}
/* otherwise return ticket */
*ticket = &(pTicketResponse->Ticket);
+
+ /* set the initial flag if we were attempting to retrieve one
+ * because Windows won't necessarily return the initial ticket
+ * to us.
+ */
+ if ( tktinfo->TicketFlags & KERB_TICKET_FLAGS_initial )
+ (*ticket)->TicketFlags |= KERB_TICKET_FLAGS_initial;
+
return(TRUE);
}
/* otherwise return ticket */
*ticket = &(pTicketResponse->Ticket);
+
+ /* set the initial flag if we were attempting to retrieve one
+ * because Windows won't necessarily return the initial ticket
+ * to us.
+ */
+ if ( tktinfo->TicketFlags & KERB_TICKET_FLAGS_initial )
+ (*ticket)->TicketFlags |= KERB_TICKET_FLAGS_initial;
+
return(TRUE);
}
#endif /* HAVE_CACHE_INFO_EX2 */