cd55c8f Ticket 48906 Allow nsslapd-db-locks to be configurable online

Authored and Committed by tbordaz 7 years ago
    Ticket 48906 Allow nsslapd-db-locks to be configurable online
    
    Bug Description:
        Currently online update of nsslapd-db-locks is failing because:
        "nsslapd-db-locks can't be modified while the server is running."
    
    Fix Description:
        The reason is that nsslapd-db-locks is missing CONFIG_FLAG_ALLOW_RUNNING_CHANGE in
        the config array.
        two fields (li_dblock and li_new_dblock) are added to ldbminfo.
        li_dblock is used to store the current dblock config and is used to initialize the
        dblayer_private field 'dblayer_lock_config'.
        li_new_dblock is used to store the future dblock config. So online update will be done
        on this field instead on the li_dblock and at shutdown, the dse.ldif will
        contain li_new_dblock but the guardian file will keep the current value (li_dblock).
        So at startup the env will be recreated
    
    https://fedorahosted.org/389/ticket/48906
    
    Reviewed by: Mark Reynolds, William Brown, Noriko Hosoi
    
    Platforms tested: F23
    
    Flag Day: no
    
    Doc impact: no