SMBLDAP...NFO.CMD(8)

✨ NAME ✨

smbldap-userinfo β€” change user real name, information and shell πŸ’…

So like, this is the User Contributed Perl Documentation page for it, bestie. Sit down, we're doing LDAP things. πŸŽ€


🌸 SYNOPSIS 🌸

smbldap-userinfo [-f full_name] [-r room_no] [-w work_ph] [-h home_ph]
[-o other] [-s login_shell] [-l] [-?] [-v]

πŸ’– DESCRIPTION πŸ’–

Okay so this command edits your gecos fields and your login shell. That's the whole vibe. πŸ¦‹

Here's the tea on permissions, no cap: a normal user can only change the fields for their own account. The super user may change the fiels for any account. (Yes, "fiels" β€” that's literally how it's spelled in the original, we don't fix, we don't judge, we preserve. πŸ’€)

If you select none of the options, the command runs in interactive mode for the current user account. It asks you about all the fields. Wanna accept a default value? Just press <ENTER>, periodt. Wanna type your own thing? Write text and then press <ENTER>. Simple as. ✨

Heads up bestie: posixAccount objectClasses has to be present in the modified entry. Like, non-negotiable. πŸ™ˆ

And if inetOrgPerson objectClass is also present, extra attributes get changed too β€” specifically givenName, sn, roomNumber, telephoneNumber, homePhone. More fields, more slay. πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • -l β€” Display users information and password status. Vibe check on yourself. πŸ‘€
  • -f full_name β€” affected attributes: 'gecos', 'cn' (and 'givenName', 'sn' if inetOrgPerson is present). It's giving full government name energy. 🫢
  • -r room_number β€” affected attributes: 'gecos' (and 'roomNumber' if inetOrgPerson is present). Where you at, literally. 🏠
  • -w work_phone β€” affected attributes: 'gecos' (and 'telephoneNumber' if inetOrgPerson is present). Ring ring, it's the office. ☎️
  • -h home_phone β€” affected attributes: 'gecos' (and 'homePhone' if inetOrgPerson is present). And yes, -h is home phone here, not help β€” do not come for me, that's just what the page says. 😭
  • -o other β€” affected attributes: 'gecos'. Miscellaneous extra info slot, iconic. πŸ’œ
  • -s login_shell β€” affected attributes: 'loginShell'. Choose your fighter (your shell). 🐚
  • -? β€” show the help message. When in doubt, ask the page itself. ⭐
  • -v β€” verbose - show modified user entry. Main character mode: it shows you the receipts of what changed. πŸ”₯

That's the whole page, bestie β€” every flag, every attribute, every default, nothing skipped, nothing invented. πŸ’–

This was served up fresh from the User Contributed Perl Documentation, running on perl v5.32.1, dated 2021-11-07. Stan a classic. πŸŽ€βœ¨πŸŒˆ

πŸ“¦ where this page comes from