892bf12 Ticket #342 - better error message when cache overflows

Authored and Committed by Noriko Hosoi 11 years ago
    Ticket #342 - better error message when cache overflows
    
    Bug description: ACL cache overflow error message is not very clear
    and repeated too many times.
    
    Fix description:
    1) print a message like this:
       Your ACL cache of %d slots has overflowed.  This can happen
       when you have many ACIs.  This ACI evaluation requires %d
       slots to cache. You can increase your max value by setting
       the attribute nsslapd-aclpb-max-selected-acls in cn=ACL
       Plugin,cn=plugins,cn=config to a value higher. A server
       restart is required.
    2) print the error message only once per ACI evaluation instead
       of hundreds of times
    
    https://fedorahosted.org/389/ticket/342
    
    Reviewed by Mark (Thanks!!)