ldapdeleteuserfromgroup(1)
β¨ ldapdeleteuserfromgroup β¨
okay bestie, welcome to ldapdeleteuserfromgroup β a lil General Commands Manual moment π
this is the tool that deletes a member from a group in LDAP. yes, it's giving "it's not you, it's the directory entry" π¦
πΈ SYNOPSIS πΈ
ldapdeleteuserfromgroup <username|dn> <groupname|gid>
two arguments. that's it. that's the whole vibe. periodt π
π OPTIONS π
<username | dn>β who are we removing from the group? π₯Ί this can be a machine name (and yes, if it's a machine, it ends with a$β the little dollar sign is the giveaway, iykyk) or a regular user name. AND, hear me out: when you're working withgroupOfNamesorgroupOfUniqueNamesgroup entries, you can also hand over a full DN instead. why would you ever want that? because it lets you delete an entry that doesn't even exist in the directory anymore. ghost user? still gotta get removed from the group, no cap π»β¨<groupname | gid>β the group that needs to say goodbye to the user π you can pass either the name of the group or its gid. whichever one you got handy, bestie π«Ά
π SEE ALSO π
ldapaddusertogroup(1)β the opposite energy, putting someone in πldapsetprimarygroup(1)β changing up the main character group πldapscripts(5)β the whole fam π
π«Ά AVAILABILITY π«Ά
the ldapscripts are provided under the GNU General Public License v2 (peep COPYING for the deets, fr fr). and the latest version of the ldapscripts is available on: http://contribs.martymac.org β
π BUGS π
No bug known. literally flawless, we love that for it π§β¨
that's the whole page bestie, go forth and delete some group memberships responsibly πΈπ
this was the General Commands Manual for ldapdeleteuserfromgroup(1), dated January 1, 2006 β iconic era, honestly ππ¦
π¦ where this page comes from
- debian bookworm: ldapscripts 2.0.8-2 Β· GPL-2.0-or-later
- debian trixie: ldapscripts 2.0.8-2 Β· GPL-2.0-or-later
- ubuntu jammy: ldapscripts 2.0.8-1ubuntu2 Β· GPL-2.0-or-later
- ubuntu noble: ldapscripts 2.0.8-2 Β· GPL-2.0-or-later
- ubuntu questing: ldapscripts 2.0.8-2
- ubuntu resolute: ldapscripts 2.0.8-2build1 Β· GPL-2.0-or-later
- ubuntu stonking: ldapscripts 2.0.8-2build1 Β· GPL-2.0-or-later
- Copyright (C) 2006-2017 GanaΓ«l LAPLANCHE
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms