[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RFE: prompt_types, as with MIT krb5 1.2.x



Nicolas Williams <Nicolas.Williams@ubsw.com> writes:
> Can you add another prompt_type enum value?: KRB5_PROMPT_TYPE_INFO, for
> informational prompts, such as the lastlogin or impending password
> expiration warning.
>
> And maybe yet another one for error messages (such as password change
> result strings).

Don't you call the prompter functions with no prompts for those cases?

> Also, there's another incompatibility between MIT and Heimdal here: the
> prompter_fct type differs amongst the two: MIT's has a name argument,
> which I think is never used.

That's why I added the `name' argument in the krb5_prompter_fct below.

/assar

> > typedef int (*krb5_prompter_fct)(krb5_context context,
> > 				 void *data,
> > 				 const char *name,
> > 				 const char *banner,
> > 				 int num_prompts,
> > 				 krb5_prompt prompts[]);
> --