SITESUMMARY2LDAPDHCP(1)

πŸ“¦ version 2.13.2, in debian bookworm, debian trixie

✨ SITESUMMARY2LDAPDHCP ✨

okay bestie, gather round, because this is the lil command that keeps your whole LDAP machine list from rotting πŸ’… it lives in the Debian Edu Admin Tools collection and its whole personality is: update or add LDAP machine objects. that's it. that's the job. she's a one-trick pony and she ATE. πŸ”₯


πŸ¦‹ SYNOPSIS πŸ¦‹

sitesummary2ldapdhcp [-adiut] [LDAP server FQDN] [LDAP base]

like, you can hand her the two positional args, or you can hand her nothing and let her figure it out. she's independent like that. πŸ’–


🌸 DESCRIPTION 🌸

so the whole vibe here: this script updates or adds machine objects to LDAP, and it builds all of that off Sitesummary information. that's the source of truth, no cap.

and here's the part that's genuinely iconic β€” the FQDN of the LDAP server and the base DN to use should both be found automatically. you don't gotta pass them. she sniffs them out herself. main character energy fr fr 🫢


πŸŽ€ OPTIONS πŸŽ€

these are the options that can appear on the command line, bestie. one bullet each, no skipping, we're not doing that here:

  • -a β€” add new hosts as well as update existing hosts. lowkey important distinction: without this she's just updating what's already there, with it she's out here creating too. glow-up behavior. ✨
  • -d β€” enable debug output. turn this on when things are giving ✨mystery✨ and you need to see what she's actually doing under the hood.
  • -i ID β€” only handle host with the given sitesummary ID. so if you got one specific host you care about and you don't want her touching the rest, this is your girl. 🎯
  • -u FILTER β€” filter used to find the LDAP user for updating LDAP. yes, the filter is for locating the LDAP user, not the host. iykyk.
  • -t TYPE β€” type of system(s) to add. TYPE can be: servers, workstations, terminals, netdevices or printers; defaults to workstations if omitted. so if you don't say anything, she assumes workstations. that's the default. periodt. πŸ’…
not me reminding you that -t has exactly those five values and the default is workstations β€” don't come for me, i'm just the messenger πŸ“

πŸ‘‘ AUTHORS πŸ‘‘

Debian Edu Team, and their whole site situation lives at https://blends.debian.org/edu β€” go say hi, they're lovely 🧚


okay that's the whole page, bestie, you're officially certified in sitesummary2ldapdhcp πŸ’œ this lil gem came to you from the Debian Edu crew, dated December 2020, and she's still out here doing her thing. go update some LDAP objects, you got this. mwah πŸŽ€βœ¨

πŸ“¦ where this page comes from