DOKK / manpages / debian 11 / ldapscripts / ldapsetprimarygroup.1.en
ldapsetprimarygroup(1) General Commands Manual ldapsetprimarygroup(1)

ldapsetprimarygroup - modifies the gidNumber of a POSIX user or machine account in LDAP (sets a user's primary group in LDAP).

ldapsetprimarygroup <username|uid> <groupname|gid>

<username | uid>
The name or uid of the user to modify.
<groupname | gid>
The new primary group name or gid of the specified user.

ldapaddusertogroup(1), ldapdeleteuserfromgroup(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