Skip to content

WiP: extend support for UUID user ID as home dir#561

Draft
jonasbardino wants to merge 10 commits into
nextfrom
adjust/support-for-uuid-user-id-as-home-dir
Draft

WiP: extend support for UUID user ID as home dir#561
jonasbardino wants to merge 10 commits into
nextfrom
adjust/support-for-uuid-user-id-as-home-dir

Conversation

@jonasbardino
Copy link
Copy Markdown
Contributor

@jonasbardino jonasbardino commented May 28, 2026

Extend the existing skeleton to support using UUID as the name of the user home dir with just symlinks to the X509 form in order to ease updating any of the X509 fields without renaming entire user home.

First step is to add unit test coverage of the relevant helpers to narrow down what works already and what is still missing.

Additional work is required if we also want e.g. the participation in VGrids to be independent of such X509 field updates.

NOTE: Integrates #562, and #563 to address some issues discovered during development of the new unit tests. We probably want to merge them and rebase here before merging this PR.

…s a start.

Bail out in create_user if UUID format is chosen and user doesn't have the
corresponding unique_id field.
@jonasbardino jonasbardino self-assigned this May 28, 2026
@jonasbardino jonasbardino added enhancement New feature or request WiP Work-in-Progress: any review requests do NOT mean it's ready for merge. labels May 28, 2026
jonasbardino added a commit that referenced this pull request May 29, 2026
…tantly

expected e.g. during useradm operations like edit_user, delete_user, etc. and
therefore difficult to do without when adding test coverage a.o. in #561.
Introduce two more common DNs used across tests: Other User and No Such User.
Polish a long comment with some typos and incomplete ending.
…plicity.

Add unit tests for edit_user both in the default and UUID format setup to cover
more of the ground needed for supporting the latter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request WiP Work-in-Progress: any review requests do NOT mean it's ready for merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant