b0c5a38 Ticket #47431 - Duplicate values for the attribute nsslapd-pluginarg are not handled correctly

Authored and Committed by nhosoi 9 years ago
    Ticket #47431 - Duplicate values for the attribute nsslapd-pluginarg are not handled correctly
    
    Description:
    In case nsslapd-pluginargN has simple syntax errors, recover them.
    1) nsslapd-pluginargN: val_1
       nsslapd-pluginargN: val_2
       nsslapd-pluginargN+1: val_3
       ==>
       nsslapd-pluginargN: val_1
       nsslapd-pluginargN+1: val_2
       nsslapd-pluginargN+2: val_3
       Note: val_2 used to be ignored.
    2) nsslapd-pluginargM: val_1
       nsslapd-pluginargN: val_2
       nsslapd-pluginargN+1: val_3
       where N != M + 1
       ==>
       nsslapd-pluginargM: val_1
       nsslapd-pluginargM+1: val_2
       nsslapd-pluginargM+2: val_3
       Note: nsslapd-pluginargN and the rest were not loaded.
    
    Reviewed by rmeggins@redhat.com (Thank you, Rich!!)
    
    https://fedorahosted.org/389/ticket/47431
    (cherry picked from commit 6aa9fdccbc9910c3dfacb22ba22596c9b514b5b4)
    
        
file modified
+36 -14