48ed4c8 Ticket 48909 - Replication stops working in FIPS mode

Authored and Committed by mreynolds 7 years ago
    Ticket 48909 - Replication stops working in FIPS mode
    
    Bug Description:  When FIPS mode is enabled on the security database, the
                      token name is changed.  This prevents the server from
                      reverse decoding the replication manager's password.  Which
                      prevents replication sessions from getting established.
    
    Fix Description:  Instead of getting the key slot from the harded coded token
                      name, call slapd_pk11_getInternalKeySlot() which gets the
                      current slot.
    
    https://fedorahosted.org/389/ticket/48909
    
    Reviewed by: nhosoi(Thanks!)
    
    (cherry picked from commit 61c72f966bda17993f483e8f79d97dff20b7cc93)