[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:
> > Why isn't `krb5_prompt_type' just added to `struct krb5_prompt' ?
> You'd have to ask MIT folk. My guess? MIT must have had macros in
> earlier versions (well, 1.1.1, I guess) that made it difficult to extend
> that structure later.
Because we didn't want to introduce incompatible changes in the API at
that point in time. Next time we're doing that anyways, we should
update this interface...
> > Passing the types through the context is ... icky.
> Indeed. I do not argue otherwise. If you wish to add prompt type info to
> the struct krb5_prompt that's fine with me and I'll see to it that
> PAM_KRB5 supports that (yet more autoconf/ifdef magic; sigh).
Sounds like the right thing.