Applied ldap group handling patch for use in OpenLDAP environment

Hi,

as desired a applied my patch for better configurable group handling to a fork of your code.

Kind regards,
Marcel