Bug 1489289

Summary: [10.2] "pwdhash -D" now uses the hashing scheme set in nsslapd-rootpwstoragescheme
Product: Red Hat Directory Server Reporter: Marc Muehlfeld <mmuehlfe>
Component: DocumentationAssignee: Marc Muehlfeld <mmuehlfe>
Status: CLOSED CURRENTRELEASE QA Contact: Viktor Ashirov <vashirov>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 10.1CC: nhosoi, nkinder, rhel-docs, rmeggins
Target Milestone: DS10.2   
Target Release: rhds-10.2   
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: 2018-04-10 07:49:01 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:
Bug Depends On:    
Bug Blocks: 1470091    

Description Marc Muehlfeld 2017-09-07 07:01:34 UTC
Configuration, Command, and File Reference

Document URL: 
https://access.redhat.com/documentation/en-us/red_hat_directory_server/10/html/configuration_command_and_file_reference/shell_scripts#Shell_Scripts-pwdhash_Print_encrypted_password

Section Number and Name:
9.3.13. pwdhash




Administration Guide:

Document URL: 
https://access.redhat.com/documentation/en-us/red_hat_directory_server/10/html/administration_guide/dirmnger-pwd#dirmnger-pwd-Resetting_Passwords
https://access.redhat.com/documentation/en-us/red_hat_directory_server/10/html/administration_guide/dirmnger-pwd#change_directory_manager_pw-CLI

Section Number and Name: 
18.5.1. Resetting the Directory Manager Password
18.5.2.1. Changing the Directory Manager Password Using the Command Line





Suggestions for improvement: 
In RHEL 7.5:
* If you do pwdhash, you get the default.
* If you do pwdhash -D /some/invalid/config you get the default
* If you do pwdhash -D /some/real/config you get the value set in nsslapd-rootpwstoragescheme
* If you do pwdhash -s <scheme> you get <scheme>
* pwdhash -D /some/real/config -s <scheme> you get scheme.




Additional information:
Development BZ: BZ#1467777