ad-onprem-ldap
Installation
SKILL.md
ad-onprem-ldap
One CLI, Tools/Ad.ts, speaks LDAP over TLS straight to the domain controllers. It does what the
RSAT ActiveDirectory cmdlets do for users and groups, and it works anywhere bun runs.
Setup
- Network path to a DC on 636/TCP (usually the corporate VPN) and DNS that resolves the domain.
bun installinsideTools/.op(1Password CLI) signed in. The bind password is read withop readinto memory only.- A config at
~/.config/ad-onprem/config.json(orAD_ONPREM_CONFIG), shaped likeconfig.example.json. It holds the domain, base DN, DCs, bind account, secret reference, CA bundle path and the OU allowlist for creates and moves. It never belongs in a repo. - The CA bundle (root, then any issuing CA) that signed the DC certificates, in PEM. Confirm the root fingerprint with the directory team before trusting it.