pull up r24518 from trunk
authorTom Yu <tlyu@mit.edu>
Wed, 1 Dec 2010 02:15:55 +0000 (02:15 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 1 Dec 2010 02:15:55 +0000 (02:15 +0000)
commit2b43bbbf64af9dd6648adfd54f547c12f44b41ee
tree618ac54989eda825b2d489facc9eca66f67f9f2e
parentdfe362513ca35f7698ad801bc5f19bcbf583477f
pull up r24518 from trunk

 ------------------------------------------------------------------------
 r24518 | ghudson | 2010-11-15 21:30:16 -0500 (Mon, 15 Nov 2010) | 12 lines

 ticket: 6819
 subject: Handle referral realm in kprop client principal
 target_version: 1.9
 tags: pullup

 kprop uses krb5_sname_to_principal() to determine its client
 principal.  If the local hostname cannot be mapped to a realm based on
 the profile's domain_realm section, krb5_sname_to_principal() will (as
 of 1.6) return a principal with the referral realm (""), which does
 not work in a client principal.  Handle this by substituting the
 default realm.

ticket: 6819
version_fixed: 1.9
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-9@24541 dc483132-0cff-0310-8789-dd5450dbe970
src/slave/kprop.c