050adf6 Ticket #308 - Automembership plugin fails if data and config area mixed in the plugin configuration

Authored and Committed by mreynolds 10 years ago
    Ticket #308 - Automembership plugin fails if data and config area mixed in the plugin configuration
    
    Bug Description:  If you set the nsslapd-pluginConfigArea, and set your default/target groups
                      to be underneath the config area, you will deadlock the server when you add
                      an entry that triggers the plugin.  We grab a lock to see if the entry is
                      within the plugin scope/filter.  Then we try and update the group, but since
                      the group is in the config area it thinks it's a config entry and grabs the
                      lock again --> deadlock
    
    Fix Description:  This is a misconfiguation so we need to verify the config at startup.  Skip
                      definition entries if they are under the config area, and log a error.
    
    Reviewed by: richm (Thanks Rich!)
    
    https://fedorahosted.org/389/ticket/308