[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Incorrect net address" with kpasswdd
Jukka Salmi <j+heimdal@2004.salmi.ch> writes:
> How can I solve this problem?
I don't think there's a simple solution. This patch might help.
/Johan
--- kpasswd.c 2 Jun 2004 19:26:04 -0000 1.34
+++ kpasswd.c 25 Nov 2004 16:07:36 -0000
@@ -149,6 +149,10 @@
krb5_get_init_creds_opt_set_tkt_life (opt, 300);
krb5_get_init_creds_opt_set_forwardable (opt, FALSE);
krb5_get_init_creds_opt_set_proxiable (opt, FALSE);
+ {
+ krb5_addresses no_addrs = {0, NULL};
+ krb5_get_init_creds_opt_set_address_list (opt, &no_addrs);
+ }
if (admin_principal_str) {
ret = krb5_parse_name (context, admin_principal_str, &admin_principal);