[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Password change?
Dave Love <d.love@dl.ac.uk> writes:
> Václav Hůla <ax@natur.cuni.cz> writes:
>
>> And is changing kpasswdd.c around line 404 from:
>>
>> reply_priv (auth_context, s, sa, sa_size, KRB5_KPASSWD_HARDERROR,
>> "Internal error");
>>
>>
>> to:
>>
>> reply_priv (auth_context, s, sa, sa_size, KRB5_KPASSWD_HARDERROR,
>> krb5_get_err_text(context, ret));
>>
>> sufficient, or it can bring more problems?
>
> I don't know, but in this case I think it should be
> KRB5_KPASSWD_SOFTERROR also.
I changed it to return a sensable error message, and changed the return
code to be SOFTERROR. This will be in 0.8 since I added a new support
function in libkrb5, krb5_get_error_message that is krb5_get_error_string
and krb5_get_err_text combined.
Love
PGP signature