ab9e4c5 Ticket 49312 - pwdhash -D used default hash algo

Authored and Committed by William Brown 6 years ago
    Ticket 49312 - pwdhash -D used default hash algo
    
    Bug Description:  The "pwdhash -D configdir" command uses the default
    hashing algorithm and neither the current value set in
    nsslapd-rootpwstoragescheme nor passwordStorageScheme.
    
    Fix Description:  pwenc.c did not correctly read the configuration
    during slapd_init, as a result, despite loading all plugin types
    from the instance, we would still ignore the rootpwscheme.
    
    Because this command is often used to reset a root password hash
    we think that having this read the root hash is appropriate.
    
    https://pagure.io/389-ds-base/issue/49312
    
    Author: wibrown
    
    Review by: mreynolds (Thanks!)