ldapadduser(1)

πŸ’– ldapadduser πŸ’–

okay bestie, so this is ldapadduser from section 1 of the General Commands Manual, and it is literally the moment your little script gets to say "new friend unlocked" 🫢. It adds a POSIX user account to LDAP. That's it. That's the whole job. And she does it flawlessly. ✨


✨ NAME ✨

ldapadduser β€” adds a POSIX user account to LDAP. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

ldapadduser <username> <groupname|gid> [uid]

three little slots and boom, you got a whole new person in your directory, no cap πŸŽ€


🌸 OPTIONS 🌸

  • <username> β€” the name of the user you're adding. yes, the actual name. the whole point. the main character. πŸ‘‘
  • <groupname | gid> β€” the group of the user you're adding, and you can hand it over either as the group name or as the gid. pick your fighter, both slay. πŸ“
  • [uid] β€” the uid of the user you're adding. it's optional bestie!! if you don't specify it, it gets automatically computed for you. the script is doing the math so you don't have to 😌✨
ngl the square brackets on [uid] are doing heavy lifting here β€” they're the universe telling you it's optional. the other two? mandatory. no skipping. 🫢

πŸ”₯ SEE ALSO πŸ”₯

your girl does not work alone, she's part of a whole friend group:

go read them, iykyk πŸ“šπŸ’œ


🌈 AVAILABILITY 🌈

the ldapscripts are provided under the GNU General Public License v2 β€” peep COPYING for all the details, bestie, that's where the fine print lives. and if you want the latest and freshest version of the ldapscripts, she's posted up at:

http://contribs.martymac.org

lowkey iconic that they just tell you where the goods are πŸ’…


πŸ’€ BUGS πŸ’€

No bug known.

not a single one. she's perfect. flawless victory. πŸ†βœ¨ (ok but fr fr, that's literally what it says, so we're vibing with it.)


mwah πŸ’‹ that's the whole page bestie. now go add some users and be the sysadmin the directory deserves πŸ‘‘πŸ¦‹

β€” written January 1, 2006, part of the ldapscripts era, still serving looks πŸ’–πŸŽ€