+Fri Mar 24 14:52:03 1995 <tytso@rsx-11.mit.edu>
+
+ * kdc5_hammer.c (get_tgt): Remove the call to krb5_os_localaddr()
+ since get_in_tkt_XXXX will default appropriately.
+
Thu Mar 2 12:34:23 1995 Theodore Y. Ts'o <tytso@dcl>
* Makefile.in (ISODELIB): Remove reference to $(ISODELIB).
char *cache_name = NULL; /* -f option */
long lifetime = KRB5_DEFAULT_LIFE; /* -l option */
int options = KRB5_DEFAULT_OPTIONS;
- krb5_address **my_addresses;
krb5_error_code code;
krb5_creds my_creds;
krb5_timestamp start;
return(-1);
}
- code = krb5_os_localaddr(&my_addresses);
- if (code != 0) {
- com_err (prog, code, "when getting my address");
- exit(1);
- }
-
my_creds.client = *p_client;
my_creds.server = tgt_server;
my_creds.times.endtime = start + lifetime;
my_creds.times.renew_till = 0;
- code = krb5_get_in_tkt_with_password(context, options, my_addresses,
+ code = krb5_get_in_tkt_with_password(context, options, 0,
NULL, patype, p_client_str, ccache,
&my_creds, 0);
my_creds.server = my_creds.client = 0;