fix(kanidm): force shortname for uid/gid attr map on unixd v2 #495
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-kanidm-uid-attr-map"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Kanidm 1.10's
unixdconfig v2 changed the defaultuid_attr_map/gid_attr_mapfromnametospn, so users started resolving asdaniel@idm.h.lyte.devinstead ofdaniel. This broke local tooling assuming the bare shortname.Pin both to
"name"at the top level ofunixSettings(they're top-level fields in v2; onlypam_allowed_login_groupssits under[kanidm]). Verified against the kanidm source at the pinned commitc070a411(v1.10.0-dev).Test plan
id danielandgetent passwd danielresolve the kanidm user as baredanieldanielstill worksPull request closed