DOKK / manpages / debian 10 / ldapscripts / ldapaddusertogroup.1.en
ldapaddusertogroup(1) General Commands Manual ldapaddusertogroup(1)

ldapaddusertogroup - adds a member to a group in LDAP.

ldapaddusertogroup <username|uid|dn> <groupname|gid>

<username | uid | dn>
The name or the uid of the user to add. It can be a machine name (with an ending $) or a user name. When working with groupOfNames or groupOfUniqueNames group entries, a full DN can also be provided.
<groupname | gid>
The name or the gid of the group that should welcome the new user.

ldapdeleteuserfromgroup(1), ldapsetprimarygroup(1), ldapscripts(5).

The ldapscripts are provided under the GNU General Public License v2 (see COPYING for more details). The latest version of the ldapscripts is available on : http://contribs.martymac.org

No bug known

January 1, 2006