Repository navigation
Reference Implementation: Himmelblau + AD (SSSD) with Cross-Domain UPNs for users #672
yaserMow89
started this conversation in
Ideas
Replies: 2 comments 2 replies
|
Very nice writeup, thank you! @yaserMow89 Do you know if this setup enables you to also access local domain Windows Server file shares? Thanks! |
1 reply
|
@dmulder Thoughts on this? We actually had this same issue come up today with a VDI solution. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
We’ve been struggling with a fairly common hybrid setup: Linux devices joined to on-prem Active Directory (AD) for identity (UID/GID management), but using Entra ID (Azure AD) via Himmelblau for authentication. The complication comes from users having two different UPN suffixes – some as user@org.onmicrosoft.com (cloud-only) and others as user@ads.org.com (synced from AD). Out of the box, this leads to login loops (asking for both EntraID and AD passwords), broken GUI logins, or sudo not working.
This guide shows how to configure Himmelblau + SSSD + PAM/NSS so that:
• You can log in with either cloud or synced EntraID users, despite the suffix mismatch.
• UID/GID resolution always comes from AD (so file permissions and groups remain consistent).
• Logins work in both GUI and SSH, including MFA over SSH.
• sudo works properly with EntraID users.
In short: if you’re running Linux with AD for identity and EntraID for authentication, and your users don’t all share the same UPN suffix, this recipe gets you a working, stable setup.
Steps
*.backup)/run/himmelblaud/task_sockexists, which sometimes takes some time for this to come live/run/himmelblaud/task_sockis created. Also to make sure this only happens after Networking and the main himmelblau daemon are up.sudo systemctl disable himmelblaud-tasks.service sudo systemctl enable --now himmelblaud-tasks.path sudo systemctl daemon-reloadAll reactions