From: John Kohl Date: Tue, 1 May 1990 17:11:47 +0000 (+0000) Subject: need to ask for realm name in the instance X-Git-Tag: krb5-1.0-alpha2~741 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=928d268dd1ea9ddbe3eb2eeffc5500c773d3b536;p=krb5.git need to ask for realm name in the instance git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@655 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/clients/kinit/kinit.c b/src/clients/kinit/kinit.c index a9a8f560c..26cc0a5be 100644 --- a/src/clients/kinit/kinit.c +++ b/src/clients/kinit/kinit.c @@ -62,7 +62,7 @@ main(argc, argv) krb5_address **my_addresses; krb5_error_code code; krb5_principal me; - krb5_data *server[3]; + krb5_data *server[4]; krb5_creds my_creds; /* @@ -137,7 +137,8 @@ main(argc, argv) server[0] = me[0]; /* realm name */ server[1] = &tgtname; - server[2] = 0; + server[2] = me[0]; + server[3] = 0; code = krb5_os_localaddr(&my_addresses); if (code != 0) {