Using static groups
A static group uses a multivalued attribute to contain an explicit membership list of distinguished names (DNs).
The PingDirectory server supports three types of static groups: groupOfNames, groupOfUniqueNames, and groupOfEntries. The following definitions describe each type of static group.
groupOfNames-
A static group that is defined with the
groupOfNamesstructural object class and uses thememberattribute to hold the DNs of its members.RFC 4519 requires the
memberattribute to be present in an entry. The PingDirectory server has relaxed this restriction by making thememberattribute optional so that the last member in the group can be removed. The following entry depicts a group defined with thegroupOfNamesobject class.dn: cn=Test Group,ou=Groups,dc=example,dc=com objectClass: top objectClass: groupOfNames cn: Test Group member: uid=user.1,ou=People,dc=example,dc=com member: uid=user.2,ou=People,dc=example,dc=com member: uid=user.3,ou=People,dc=example,dc=com
groupOfUniqueNames-
A static group that is defined with the
groupOfUniqueNamesstructural object class and uses theuniqueMemberattribute to hold the DNs of its members.RFC 4519 requires the
uniqueMemberattribute to be present in an entry. The PingDirectory server has relaxed this restriction by making theuniqueMemberattribute optional so that the last member in the group can be removed. The following entry depicts a group defined with thegroupOfUniqueNamesobject class.dn: cn=Test Group,ou=Groups,dc=example,dc=com objectClass: top objectClass: groupOfUniqueNames cn: Test Group uniqueMember: uid=user.1,ou=People,dc=example,dc=com uniqueMember: uid=user.2,ou=People,dc=example,dc=com uniqueMember: uid=user.3,ou=People,dc=example,dc=com
groupOfEntries-
A static group that is defined with the
groupOfEntriesobject class and uses thememberattribute to hold the DNs of its members.This group specifies that the
memberattribute is optional so that the last member can be removed from the group. Although the draft proposal (draft-findlay-ldap-groupofentries-00.txt) has expired, the PingDirectory server supports this implementation. The following entry depicts a group defined with thegroupOfEntriesobject class.dn: cn=Test Group,ou=Groups,dc=example,dc=com objectClass: top objectClass: groupOfEntries cn: Test Group member: uid=user.1,ou=People,dc=example,dc=com member: uid=user.2,ou=People,dc=example,dc=com member: uid=user.3,ou=People,dc=example,dc=com