need to ask for realm name in the instance
authorJohn Kohl <jtkohl@mit.edu>
Tue, 1 May 1990 17:11:47 +0000 (17:11 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Tue, 1 May 1990 17:11:47 +0000 (17:11 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@655 dc483132-0cff-0310-8789-dd5450dbe970

src/clients/kinit/kinit.c

index a9a8f560c9d93ed8a9dda226cf2d8f477e6380fb..26cc0a5be1536e7909291eda388af48b8f4fdeba 100644 (file)
@@ -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) {