owncloud/core — pull request #8975 by blizzz (2014-06-10 16:23:13+00:00)
Title: Ldap wizard group detection

This fixes two issues:

1.) support for "groupOfNames" objectclass (i.e. adding it to the array of objectClasses that are known to identify groups).

2.) disabling wildcard search for groups. If your groups do not belong to any known objectClass, ownCloud wants still to be helpful and offers any available object as group. This is terrible, because on big setups it runs half an eternity and the results will hot help much anyway (rather contrary).

The changes are pretty small.

To test it:

about 1st) create a group in LDAP and make sure it has an objectclass value of "groupOfNames" but none of 'posixGroup', 'group' or 'zimbraDistributionList'. Run the wizard and make sure you find your group in the second drop down in the Groups tab (priorly it won't be there).

about 2nd) remove all groups having 'posixGroup', 'group', 'zimbraDistributionList or 'groupOfNames' as objectClass. Make sure you have any other entries (like users) in LDAP. Run the wizard, the second drop down in the Groups tab shall be empty (priorly full with everything that has an cn attribute, spinner can take a terribly long time depending on the setup).

@karlitschek I would love to get it into 6.0.4. cc @ser72

Reviewers please @PVince81 @MorrisJobke @icewind1991 or others