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

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



On Sat, May 12, 2001 at 04:33:57PM +0200, Assar Westerlund wrote:
> 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?

MIT's krb5_gic_pwd() puts impending password expiration warnings, last
login messages, and so on in prompts.

> > 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.

Doh! I didn't look at it too closely. IIRC, that argument isn't actually
used anywhere... I'll have to check again...

> /assar
> 

Cheers,

Nico
--