kinit using wrong domain/realm os x

no amount of modifiying

~/Library/Preferences/edu.mit.Kerberos

seemed to actually change the default realm it uses when you run a straight “kinit”

for me this meant either “go to keychain access -> menu Keychain access -> ticket viewer” and add an identity for the right one, make it default.  Except once it expires you have to manually go do it again :\

Or use

$ kinit username@RIGHT_REALM

instead (hacky but works, and you can make a script or alias for it like “kinitr” or what not)

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.