I really hope your kinit patch is not sufficient. In particular, I'm surprised that you don't need a library patch as well to deal with the name coming back in a different form and to set the canonicalize flag.