Applied ldap group handling patch for use in OpenLDAP environment