Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1594922

Summary: Incorrect option for pwdhash
Product: Red Hat Directory Server Reporter: Brian Gribble <bgribble>
Component: Doc-administration-guideAssignee: Marc Muehlfeld <mmuehlfe>
Status: CLOSED CURRENTRELEASE QA Contact: Viktor Ashirov <vashirov>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 10.2CC: rhel-docs
Target Milestone: DS10.2Keywords: EasyFix
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-06-26 08:13:41 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 Brian Gribble 2018-06-25 17:16:12 UTC
Document URL:
https://access.redhat.com/documentation/en-us/red_hat_directory_server/10/html/administration_guide/dirmnger-pwd

Section Number and Name:
19.6.1. Resetting the Directory Manager Password
and
19.6.2.1. Changing the Directory Manager Password Using the Command Line

Describe the issue:
The pwdhash command shows the incorrect argument for configdir.

># pwdhash -d /etc/dirsrv/slapd-instance_name password

Suggestions for improvement:
It should be a capital "d".

>usage: pwdhash -D config-dir [-H] [-s scheme | -c comparepwd ] password...

Additional information: 
I am using RHEL 7.5 fully patched with DS version redhat-ds-10.2.0-2.el7dsrv.x86_64 (389-ds-base-1.3.7.5-21.el7_5.x86_64).

Comment 1 Marc Muehlfeld 2018-06-26 08:13:41 UTC
I fixed the incorrect options in both sections and republished the guide on the Customer Portal:

19.6.1. Resetting the Directory Manager Password
https://access.redhat.com/documentation/en-us/red_hat_directory_server/10/html/administration_guide/dirmnger-pwd#dirmnger-pwd-Resetting_Passwords

19.6.2.1. Changing the Directory Manager Password Using the Command Line
https://access.redhat.com/documentation/en-us/red_hat_directory_server/10/html/administration_guide/dirmnger-pwd#change_directory_manager_pw-CLI


I also checked the Configuration, Command, and File Reference. There the option is correct.