Univention Bugzilla – Bug 45380
UMC group module: Provide search filter for empty groups
Last modified: 2017-09-12 22:31:38 CEST
The UMC should offer a search filter to find all groups which have no members. This would be very helpful for clean-up tasks.
To find empty classes:
univention-ldapsearch -LLLo ldif-wrap=no '(&(objectClass=univentionGroup)(!(uniqueMember=*)))' dn | grep "cn=klassen"
For this task bug 45379 would be very useful ;)