Bug 1379243

Summary: No password syntax related error for the admin user
Product: Red Hat Directory Server Reporter: Kamlesh <kchaudha>
Component: Directory ConsoleAssignee: mreynolds
Status: CLOSED WONTFIX QA Contact: Viktor Ashirov <vashirov>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 10.0CC: kbanerje, mreynolds, nhosoi, nkinder
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-26 08:36:35 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:

Description Kamlesh 2016-09-26 07:40:46 UTC
Description of problem:
In console Password syntax is enable, and set only password minimum length and all other field leave as it is. save the changes.change the password for Admin 
For example set the Password minimum length to 10 and other field are leave as its is 

# restart-dirsrv

In Admin console: 
go to configuration-> Access-> change the password (not matching with the password syntax)
save the changes (it does not give any error)

# restart-ds-admin

start the console
try to to login with new password
result
it give an error

use old password 
result 
you are able to login


Version-Release number of selected component (if applicable):
389-ds-console-1.2.13-1.el7dsrv.noarch
redhat-idm-console-10.1.0-1.el7dsrv.x86_64
389-admin-console-1.1.12-1.el7dsrv.noarch
389-ds-base-1.3.5.10-11.el7.x86_64

How reproducible:
always 


Actual results:
It does not give an error

Expected results:
it should give result, in Directory Server console the if minimum length criteria is not match the save button is disable. 

Additional info:
one more issue 
in admin console password and confirm password field does not show the astrick (encrypted password) but in Directory Console it shows the password in that manner.

Comment 1 Noriko Hosoi 2016-10-03 23:11:09 UTC
I could reproduce the problem.  The admin server error log logs the error message:
[Mon Oct 03 15:38:51.700843 2016] [:error] [pid 3805:tid 140694807115520] task_update_registry_server_bindpw(): ldap_modify for uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot failed: Constraint violation

But the Admin Console does not.  It is inconvenient, but I don't think it is a blocker.

> in admin console password and confirm password field does not show the astrick
On my Admin Console, each character is represented as a dot.