[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Incorrect net address" with kpasswdd
Johan Danielsson --> heimdal-discuss (2004-11-25 17:08:39 +0100):
> 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);
Hmm, doesn't seem to work, still the same errors ('Bad version' and
and 'Incorrect net address'). But... is this kpasswd.c revision 1.34?
I'm using rev. 1.24 (from the heimdal 0.6.3) and thought this was the
latest...
Regards, Jukka
--
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~