[SSSD] [PATCH] ldap, krb5: More descriptive msg on chpass failure.

Jakub Hrozek jhrozek at redhat.com
Sun Aug 11 18:32:55 UTC 2013


On Fri, Aug 09, 2013 at 09:44:06PM +0200, Michal Židek wrote:
> During password change operation if wrong current password was given
> we gave no hint to the user about what went wrong. The "Authentication
> token manipulation error" message alone was not very descriptive.
> 
> resolves:
> https://fedorahosted.org/sssd/ticket/2029
> 
> Thanks
> Michal

Works fine:

su - tuser
Password: 
Last login: Sun Aug 11 20:29:44 CEST 2013 on pts/1
-sh-4.2$ passwd
Changing password for user tuser.
Current Password: 
Password change failed. Server message: Old password not accepted.
passwd: Authentication token manipulation error

Maybe in another patch we can amend pack_user_info_chpass_error() to not
require the last two parameters and just pass NULL, but that's not
required now.

ACK



More information about the sssd-devel mailing list