Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.411 (Entity 5.404) RT-Send-CC: tlyu@mit.edu X-RT-Original-Encoding: iso-8859-1 Content-Length: 1368 Here is the patch. Please apply for 1.3. Index: ms2mit.c =================================================================== RCS file: /cvs/krbdev/krb5/src/windows/ms2mit/ms2mit.c,v retrieving revision 1.2 diff -r1.2 ms2mit.c 267,271c267,271 < // krb5_cc_store_cred crashes downstream if creds->addresses is NULL. < // unfortunately, the MS interface doesn't seem to return a list of < // addresses as part of the credentials information. for now i'll just < // use krb5_os_localaddr to mock up the address list. is this sufficient? < krb5_os_localaddr(context, &creds->addresses); --- > /* MS Tickets are addressless. MIT requires an empty address > * not a NULL list of addresses. > */ > creds->addresses = (krb5_address **)malloc(sizeof(krb5_address *)); > memset(creds->addresses, 0, sizeof(krb5_address *)); Index: ChangeLog =================================================================== RCS file: /cvs/krbdev/krb5/src/windows/ms2mit/ChangeLog,v retrieving revision 1.3 diff -r1.3 ChangeLog 0a1,7 > 2003-06-20 Jeffrey Altman > > * ms2mit.c: Windows Credentials are addressless. Do not store > the credentials in the MIT cache with addresses since they > do not contain addresses in the encrypted portion of the > credential. Instead generate a valid empty address list. >