SITESUMMARY2LDAPDHCP(1)
β¨ 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.-iID β 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. π―-uFILTER β filter used to find the LDAP user for updating LDAP. yes, the filter is for locating the LDAP user, not the host. iykyk.-tTYPE β type of system(s) to add. TYPE can be:servers,workstations,terminals,netdevicesorprinters; defaults toworkstationsif omitted. so if you don't say anything, she assumes workstations. that's the default. periodt. π
not me reminding you that-thas exactly those five values and the default isworkstationsβ 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
- debian bookworm: debian-edu-config 2.12.46~deb12u1
- debian trixie: debian-edu-config 2.13.2~deb13u1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms