In the following code, the password is changed, krbret has a value of
-1765328346, and pw_result has a value of 0. Shouldn't the return
value and result code both be 0? Should I just discard the function
return value?

if ((krbret = krb5_change_password(ctx, &creds, newpass, &pw_result,
&pw_res_string, &res_string ))) {
krb5_free_cred_contents(ctx, &creds);
krb5_free_principal(ctx, princ);
return krbret;
Kerberos mailing list