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 1710749 - When new password length is less than 8 characters sssd showing incorrect error message when we add ldap_pwmodify_mode paramter in sssd.conf
Summary: When new password length is less than 8 characters sssd showing incorrect err...
Keywords:
Status: CLOSED DUPLICATE of bug 1795220
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: sssd
Version: 8.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: 8.2
Assignee: SSSD Maintainers
QA Contact: sssd-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-16 08:53 UTC by Madhuri
Modified: 2020-04-24 11:33 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-24 11:33:48 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Madhuri 2019-05-16 08:53:51 UTC
Description of problem:
When new password length is less than 8 characters sssd showing incorrect error message when we add ldap_pwmodify_mode paramter in sssd.conf

Version-Release number of selected component (if applicable):
sssd-1.16.4-13.el7.x86_64

How reproducible:
Always 

Steps to Reproduce:
1. Setup sssd client with 389 ldap server and set password policy in server by enabling 
passwordCheckSyntax: on

2. Add ldap_pwmodify_mode in sssd.conf

3. Restart sssd

Actual results:
# ssh -l foo3@example1 localhost
foo3@example1@localhost's password:
Last login: Thu May 16 03:04:42 2019 from localhost
Could not chdir to home directory : No such file or directory
-bash-4.2$ passwd
Changing password for user foo3@example1.
Current Password:
New password:
Retype new password:
passwd: Authentication token is no longer valid; new one required


Showing error message 'Authentication token is no longer valid; new one required'

Expected results:
Should get error message related to character length of password. 


Additional info:

Comment 6 Pavel Březina 2020-04-24 11:31:22 UTC
* `master`
    * e4c6ebf6754dca194487f02b616018a860e5dbdf - sdap: provide error message when password change fail in ldap_modify mode
* `sssd-1-16`
    * ddf0a59a610570111fadc391f104c29442e01ac8 - sdap: provide error message when password change fail in ldap_modify mode

Comment 7 Pavel Březina 2020-04-24 11:33:48 UTC
Actually this was reported later in #1795220.

*** This bug has been marked as a duplicate of bug 1795220 ***


Note You need to log in before you can comment on or make changes to this bug.