Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1449731

Summary: IPA client cannot change AD Trusted User password
Product: Red Hat Enterprise Linux 7 Reporter: Varun Mylaraiah <mvarun>
Component: sssdAssignee: SSSD Maintainers <sssd-maint>
Status: CLOSED ERRATA QA Contact: Varun Mylaraiah <mvarun>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.4CC: grajaiya, ipa-qe, jhrozek, lmiksik, lslebodn, mkosek, mvarun, mzidek, pbrezina, sbose, sgoveas, tscherf
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: sssd-1.15.2-45.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 09:06:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Varun Mylaraiah 2017-05-10 14:28:10 UTC
IPA client cannot change AD Trusted User password

[root@vm-idm-012 ~]# rpm -q ipa-server ipa-client sssd
ipa-server-4.5.0-10.el7.x86_64
ipa-client-4.5.0-10.el7.x86_64
sssd-1.15.2-25.el7.x86_64

Console output:
[root@vm-idm-012 ~]# su pw1144518888
sh-4.2$ 
sh-4.2$ passwd
Changing password for user pw1144518888.
Current Password: 
Password change failed. Server message: Old password not accepted.
passwd: Authentication token manipulation error

[root@vm-idm-012 ~]# tail -5 /var/log/secure
May 10 19:19:36 localhost su: pam_unix(su:session): session opened for user pw1144518888 by root(uid=0)
May 10 19:19:43 localhost passwd: pam_unix(passwd:chauthtok): user "pw1144518888" does not exist in /etc/passwd
May 10 19:19:55 localhost passwd: pam_sss(passwd:chauthtok): User info message: Password change failed. Server message: Old password not accepted.
May 10 19:19:55 localhost passwd: pam_sss(passwd:chauthtok): Authentication failed for user pw1144518888: 4 (System error)
May 10 19:21:07 localhost su: pam_unix(su:session): session closed for user pw1144518888

How reproducible:
100%

Actual results:
password change fails

Expected results:
password change succeeds.

Additional info:
Old bug https://bugzilla.redhat.com/show_bug.cgi?id=870238 with the same issue was verified in Rhle 6.4 and sssd-1.9.2-24.el6

Comment 11 Sumit Bose 2017-06-08 09:07:29 UTC
Upstream ticket:
https://pagure.io/SSSD/sssd/issue/3426

Comment 12 Jakub Hrozek 2017-06-08 15:05:24 UTC
* master: 614057ea85c05d3a6d4b62217a41b8b5db8d5d38

Comment 14 Varun Mylaraiah 2017-06-09 11:25:33 UTC
Verified

# rpm -qa sssd
sssd-1.15.2-45.el7.x86_64

[root@vm-idm-019 ~]# su newaduser99
sh-4.2$ passwd
Changing password for user newaduser99.
Current Password: 
New password: 
Retype new password: 
passwd: all authentication tokens updated successfully.
sh-4.2$ exit

[root@vm-idm-019 ~]# kinit newaduser99
Password for newaduser99: 
[root@vm-idm-019 ~]# klist
Ticket cache: KEYRING:persistent:0:0
Default principal: newaduser99

Valid starting       Expires              Service principal
2017-06-09T16:53:33  2017-06-10T02:53:33  krbtgt/IPAAD2012R2.TEST
	renew until 2017-06-10T16:53:29

Comment 15 errata-xmlrpc 2017-08-01 09:06:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:2294