Permalink
Commits on Sep 11, 2006
  1. Split new symbols between krb5.h and k5-int.h, renaming to krb5int and

    adding KRB5_CALLCONV as appropriate.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/referrals@18581 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Sep 11, 2006
  2. Comment out some previously-missed debugging output.

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/referrals@18580 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Sep 11, 2006
Commits on Sep 9, 2006
  1. Eight-byte occasional leak found, fixed. (It's not clear why this wasn't

    being run over a lot more often; it should have been hit whenever
    krb5_get_fallback_host_realm was used.)
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/referrals@18579 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Sep 9, 2006
  2. Leak found with tgtq reuse under some circumstances. Fixed.

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/referrals@18578 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Sep 9, 2006
  3. - Added comments to krb5_get_cred_from_kdc_opt commentary about memory

      management pitfalls.
    - Removed a few obsolete and dangerous debugging hooks.
    - Got rid of remaining C++-style comments.
    - Updated state.
    - Reviewed code for string-based assumptions; all that remain look OK.
      (Or, at least, were there before.  krb5_sname_to_principal returns the
      realm as a string, which since, first, it's originating the data, and
      second, ASCII NUL is a forbidden character in 4120-compliant realm
      names, and third, changing the API would be a bit of a bother, I'm
      going along with.)
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/referrals@18577 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Sep 9, 2006
Commits on Sep 8, 2006
  1. Whitespace cleanup and state update.

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/referrals@18576 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Sep 8, 2006
  2. - Fixed some indentation inconsistencies.

    - Fixed referral loop check.
    - Fixed a bunch of memory leaks.
    - Cleaned up whitespace.
    - Updated state.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/referrals@18575 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Sep 8, 2006
  3. - added referral loop checking

    - updated state
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/referrals@18574 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Sep 8, 2006
  4. - krb5_parse_name now allows zero-length realms

    - krb5_get_fallback_host_realm made string-safe
      (now takes *krb5_data instead of a maybe-string)
    - conditionalized some previously-missed bits of debugging output
      (some of this should probably get nuked entirely since it's
      not really interesting anymore, but keeping easy debugging 
      hooks for the core referral logic seems very useful)
    - return first-hop referral TGT for ccache
      (but should maybe not do so if already cached?)
    - fixed a couple of stupid bugs in fallback realm code
    - cleaned up some memory leaks (more surely remain)
    - state updated
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/referrals@18573 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Sep 8, 2006
  5. - Remove KRB5_REFERRAL_REALM check to separate function.

    - Conditionalize gc_frm_kdc out_cred freeing so it doesn't SEGV on an
      early failure before out_cred is allocated.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/referrals@18572 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Sep 8, 2006
Commits on Sep 7, 2006
  1. * gc_frm_kdc.c (krb5_get_cred_from_kdc_opt): Replace server princ

    in out_creds not in_creds
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/referrals@18570 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Sep 7, 2006
  2. Added some known problems to bug list, removed assertion failure

    fixed in #18568.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/referrals@18569 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Sep 7, 2006
  3. * walk_rtree.c (dbgref_dump_principal):Move here from

            gc_frm_kdc.c so make check works
    
    * gc_frm_kdc.c (krb5_get_cred_from_kdc_opt): Fill in length of
    realm after populating from client
    
    * copy_princ.c (krb5_copy_principal): Always allocate space for realms even if they are empty.  Always defensively null terminate.  Note that realms may still have internal null characters; they are not strings.
    
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/referrals@18568 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Sep 7, 2006
  4. - conditionalized and depersonalized all debugging code

    - fixed in_cred memory management problems (double_free/SEGV)
    - rearranged storage use to leave in_cred inviolate and use temporary storage
      for referral traversal
    - switched most explicit *alloc use to use library storage functions
    - cleaned up referral tgt list management
    - update TODO state
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/referrals@18567 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Sep 7, 2006
  5. Documented current state and blocking issues.

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/referrals@18566 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Sep 7, 2006
Commits on Sep 5, 2006
  1. Merge to trunk rev 18559

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/referrals@18560 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Sep 5, 2006
  2. Create referrals branch based on Andrew's work

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/referrals@18559 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Sep 5, 2006
Commits on Aug 26, 2006
  1. Misc commentary.

    git-svn-id: svn://anonsvn.mit.edu/krb5/users/amb/referrals@18547 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Aug 26, 2006
  2. Note current state.

    git-svn-id: svn://anonsvn.mit.edu/krb5/users/amb/referrals@18546 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Aug 26, 2006
  3. Mostly complete. Needs memory management work.

    git-svn-id: svn://anonsvn.mit.edu/krb5/users/amb/referrals@18545 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Aug 26, 2006
Commits on Aug 25, 2006
  1. More blather about mixed-fallback cases after today's meeting with Ken.

    git-svn-id: svn://anonsvn.mit.edu/krb5/users/amb/referrals@18544 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Aug 25, 2006
  2. More to do after afternoon's meeting and testing.

    git-svn-id: svn://anonsvn.mit.edu/krb5/users/amb/referrals@18543 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Aug 25, 2006
  3. Debugging changes.

    git-svn-id: svn://anonsvn.mit.edu/krb5/users/amb/referrals@18542 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Aug 25, 2006
  4. Clarify remote TGT cache question, since we do want to use it in

    domain_realm case.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/users/amb/referrals@18541 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Aug 25, 2006
  5. Update for current state and assumptions; added notes from meeting.

    git-svn-id: svn://anonsvn.mit.edu/krb5/users/amb/referrals@18540 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Aug 25, 2006
  6. Moved meeting notes to implementation notes.

    Major updates to reflect completed work and current state.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/users/amb/referrals@18539 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Aug 25, 2006
  7. Reflect current state.

    git-svn-id: svn://anonsvn.mit.edu/krb5/users/amb/referrals@18538 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Aug 25, 2006
  8. Moved debugging code to gc_frm_kdc.c.

    git-svn-id: svn://anonsvn.mit.edu/krb5/users/amb/referrals@18537 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Aug 25, 2006
  9. Conditionalize acceptance of referral tickets on a request for same b…

    …eing made.
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/users/amb/referrals@18536 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Aug 25, 2006
  10. Rearrange and simplify logic to match decisions at 21 August meeting.

    git-svn-id: svn://anonsvn.mit.edu/krb5/users/amb/referrals@18535 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Aug 25, 2006
  11. Conditionalize debugging stuff.

    git-svn-id: svn://anonsvn.mit.edu/krb5/users/amb/referrals@18534 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Aug 25, 2006
Commits on Aug 23, 2006
  1. Add notes from meeting.

    git-svn-id: svn://anonsvn.mit.edu/krb5/users/amb/referrals@18521 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Aug 23, 2006
Commits on Aug 19, 2006
  1. Modified ticket consistency check to allow for a referral ticket.

    git-svn-id: svn://anonsvn.mit.edu/krb5/users/amb/referrals@18474 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Aug 19, 2006
  2. Added core referral code that does more-or-less the right thing. Need…

    …s padata handling.
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/users/amb/referrals@18473 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Aug 19, 2006
  3. Another useful cache-hacking alias.

    git-svn-id: svn://anonsvn.mit.edu/krb5/users/amb/referrals@18472 dc483132-0cff-0310-8789-dd5450dbe970
    amb committed Aug 19, 2006