From 928d268dd1ea9ddbe3eb2eeffc5500c773d3b536 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Tue, 1 May 1990 17:11:47 +0000 Subject: [PATCH] need to ask for realm name in the instance git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@655 dc483132-0cff-0310-8789-dd5450dbe970 --- src/clients/kinit/kinit.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) { -- 2.26.2