Using command-line (Linux) or LDIF, I could find many examples of creating a new group and defining its members, but no examples of this:
How to add a user to an existing group?
Let's say the person also already exists.
For instance adding user uid=fred,ou=people,dc=example,dc=com
to group cn=vipb,ou=groups,dc=example,dc=com
.
You add a
memberUid
attribute to the group. For example:For the record, the LDAP schema is described in RFC 2307.