SMBLDAP...ADD.CMD(8)
π NAME π
okay so bestie, meet smbldap-groupadd β it makes a brand new group. that's it, that's the vibe. a whole new group account, freshly served, no cap. π
β¨ SYNOPSIS β¨
smbldap-groupadd [-g gid ] [-a] [-o] [-r rid] [-s sid] [-t group type]
[-p] group
like, that's the shape of it. flags first, group name at the end, slay. π
π¦ DESCRIPTION π¦
so what does smbldap-groupadd actually do? it creates a new group account using the values you typed on the command line, plus the default values it pulls from the configuration file. the new group gets entered into the system files as needed. lowkey iconic behaviour. πΈ
available options are, and yes we're going through every single one, because i would never leave you hanging:
-ggid β this is the numerical value of the group's ID. bestie, listen: this value must be unique, unless you're using the-ooption. it also has to be non-negative. the default is to use the smallest ID value greater than1000and greater than every other group. yes, it goes hunting for a free spot. π«Ά-aβ adds an automatic Security ID for the group, aka the SID. automatic, we love that. β¨-bβ this group is also a AIX group. (that's the original wording, i'm not touching it. π)-oβ thegidis not unique. you're allowed to double up. do it deliberately though, not by accident. π-pβ prints thegidNumberto stdout. like, it'll tell you the number. very demure, very mindful. π-ssid β sets the group SID. the SID must be unique and defined with the domain Security ID ($SID) likesid=$SID-ridwhere rid is the group rid. got it? got it. π-rrid β sets the group rid. the SID is then calculated assid=$SID-ridwhere$SIDis the domain Security ID. math but make it directory services. π₯-tgroup type β sets the NT Group type for the new group. available values are2(domain group),4(local group) and5(builtin group). the default group type is2. pick your fighter. π
ngl, if you're juggling-s,-rand-tat the same time, double-check yourself before you wreck yourself. the page says the SID must be unique, and it means it. π
π SEE ALSO π
groupadd(1)β the og, the blueprint, the main character that came before. β
and that's the whole page bestie!! π this lil' slice of documentation was brought to you by perl v5.32.1, dated 2021-11-07 β yes she's been around a minute and she still ate. ππ§ go forth and make groups, you've got this. π«Άπ
π¦ where this page comes from
- ubuntu jammy: smbldap-tools 0.9.11-3ubuntu1 Β· GPL-2.0-or-later
- ubuntu noble: smbldap-tools 0.9.11-3ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms