111e11a Ticket #47831 - server restart wipes out index config if there is a default index

Authored and Committed by rmeggins 9 years ago
    Ticket #47831 - server restart wipes out index config if there is a default index
    
    https://fedorahosted.org/389/ticket/47831
    Reviewed by: nhosoi (Thanks!)
    Branch: 389-ds-base-1.3.2
    Fix Description: In ldbm_instance_index_config_enable_index(), only call
    the function ldbm_index_parse_entry() if the index does not exist.  Instead,
    get the name of the index from the "cn" attribute of the entry, and use
    ainfo_get() to get the index.  If this returns NULL, then call
    ldbm_index_parse_entry() to create and parse the index.
    Platforms tested: Fedora 20
    Flag Day: no
    Doc impact: no
    
    (cherry picked from commit 5c5c9603946ecb89fb17df665a95aa3ce75e01de)