projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dc09e7
)
need to ask for realm name in the instance
author
John Kohl
<jtkohl@mit.edu>
Tue, 1 May 1990 17:11:47 +0000
(17:11 +0000)
committer
John 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
patch
|
blob
|
history
diff --git
a/src/clients/kinit/kinit.c
b/src/clients/kinit/kinit.c
index a9a8f560c9d93ed8a9dda226cf2d8f477e6380fb..26cc0a5be1536e7909291eda388af48b8f4fdeba 100644
(file)
--- 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) {