krb5_change_password() message string from server is empty

Arpit Srivastava arpit.orb at gmail.com
Mon Jun 17 07:55:58 EDT 2013


Hi,

When krb5_change_password() returns 0 but result_code is not equal to zero,
the result_string and result_code_string must contain some message from the
server.
When I am using standard kpasswd binary, I am getting a Password change
rejected: You can not change password more than once a day.... message.
But, when I am using the api in my application, I am getting empty strings.
However, password change works fine in case of success (both ret and
result_code
are zero).
What could the reason for not getting the strings properly?

Arpit


More information about the krbdev mailing list