groupOfNames doesn't allow to use empty groups, which leads to hacks like fakeuser... groupOfMembers allows this, so let's import this objectClass and use it instead. For more informations on it, see http://www.openldap.org/lists/openldap-technical/201312/msg00038.html and the rfc it references.
groupOfNames doesn't allow to use empty groups, which leads to hacks like fakeuser... groupOfMembers allows this, so let's import this objectClass and use it instead. For more informations on it, see http://www.openldap.org/lists/openldap-technical/201312/msg00038.html and the rfc it references.
I didnt want to replace the whole nis schema by rfc2307bis as per http://bubblesorted.raab.link/content/replace-nis-rfc2307-rfc2307bis-schema-openldap because it seems a bit like a huge hammer.
Tweak memberOf overlay config to trigger on the correct objectClass while here. This PR only takes care of the LDAP example tree & scripts.
I've tested this locally, importing the ldif schema with
and then (using shelldap) creating an empty group, and a group with a member containing a fullDN.