+Wed Sep 18 15:54:41 1996 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * krb_auth_su.c (krb5_get_tkt_via_passwd): Remove call to
+ krb5_os_localaddr(), since get_in_tkt will default correctly.
+
Tue Sep 10 14:15:02 1996 Tom Yu <tlyu@mit.edu>
* ksu.M: remove ".so man1/header.doc"
opt_info *options;
krb5_boolean *zero_password;
{
- krb5_address **my_addresses;
krb5_error_code code;
krb5_creds my_creds;
krb5_timestamp now;
return (FALSE);
}
- code = krb5_os_localaddr(context, &my_addresses);
-
- if (code != 0) {
- com_err (prog_name, code, "when getting my address");
- return (FALSE);
- }
-
if ((code = krb5_timeofday(context, &now))) {
com_err(prog_name, code, "while getting time of day");
return (FALSE);
com_err(prog_name, code, "while reading password for '%s'\n",
client_name);
memset(password, 0, sizeof(password));
- krb5_free_addresses(context, my_addresses);
return (FALSE);
}
fprintf(stderr, "No password given\n");
*zero_password = TRUE;
memset(password, 0, sizeof(password));
- krb5_free_addresses(context, my_addresses);
return (FALSE);
}
code = krb5_get_in_tkt_with_password(context, options->opt,
- my_addresses, NULL, preauth_ptr,
+ 0, NULL, preauth_ptr,
password, *ccache, &my_creds, 0);
memset(password, 0, sizeof(password));
- krb5_free_addresses(context, my_addresses);
-
if (code) {
if (code == KRB5KRB_AP_ERR_BAD_INTEGRITY)
fprintf (stderr, "%s: Password incorrect\n", prog_name);