kdb-uidextract-limited(8)

πŸ“¦ version 3.6, in alpine 3.24, opensuse-leap 16.0

okay bestie, welcome to the kdb-uidextract-limited(8) page from the Gromox admin reference πŸ’…βœ¨ this one is a tiny helper script and honestly it’s giving β€œsmall but mighty” energy.

✨ Name ✨

kdb-uidextract-limited β€” helper for creating a gromox-kdb2mt ACL map 🫢

πŸ› οΈ Synopsis πŸ› οΈ

run it like this, no cap:

perl /usr/libexec/gromox/kdb-uidextract-limited

πŸ’– Description πŸ’–

okay so kdb-uidextract-limited is a Perl script that uses just the Kopano command line interface of the kopano-admin(8) and kopano-stats(8) programs to read user object descriptions off a Kopano installation and produce an ACL map for use with the gromox-kdb2mt --user-map option. it’s giving β€œCLI-only, no extra drama” ✨

this script is meant to be executed on a Kopano system, and it does not rely on Gromox at all. zero Gromox dependency, periodt πŸ’…

unlike kdb-uidextract, kdb-uidextract-limited also does not rely on the presence of python-kopano bindings (e.g. for when installing those is considered infeasible). that part is a slay for real πŸŽ€ however β€” and this is the important bit β€” kdb-uidextract-limited can only evaluate the host it is executed on and has no automatic multi-server capability. why? because kopano-stats(8) never loads a TLS certificate needed to make the -h option work. 😭 to produce a complete map, you need to manually execute kdb-uidextract-limited on all Kopano server instances in a cluster and then join the results in accordance with the JSON syntax, e.g. by use of jq(1).

kopano-server need not be set up for TLS. so if your TLS setup is not giving, you’re fine here 🌸

the resulting map for kdb2mt is printed to stdout. yes bestie, stdout, where all the good output goes ✨

πŸŽ€ Options πŸŽ€

this program offers no command-line options. literally none. no flags, no arguments, no secret menu β€” it’s giving minimalist icon behavior πŸ’€πŸ«Ά

🌈 See also 🌈

go read these if you want the full lore πŸ‘‘


xoxo, Gromox πŸ’– β€” your kdb-uidextract-limited(8) page is signing off πŸŽ€βœ¨

πŸ“¦ where this page comes from