百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
H

himmelblau

> 编程语言
开源

适用于 Linux 的云身份、多因子身份验证和合规性

359 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

适用于 Linux 的云身份、多因子身份验证和合规性

Himmelblau

Himmelblau is an interoperability suite for Microsoft Azure Entra ID and Intune.

The name of the project comes from a German word for Azure (sky blue).

Himmelblau supports Linux authentication to Microsoft Azure Entra ID via PAM and NSS modules. The PAM and NSS modules communicate with Entra ID via the himmelblaud daemon. Himmelblau also supports Intune device enrollment, policy enforcement, and marking devices as compliant with Intune MDM policies.

Sponsorship

We gratefully acknowledge SUSE as the primary sponsor of the Himmelblau project. Their support enables us to develop and maintain this open-source identity management solution.

Contact

You can reach out on the Himmelblau community matrix channel or on the Samba Technical community matrix channel.

Support Himmelblau

Himmelblau is developed and maintained with significant support from SUSE Linux. Community financial support helps sustain project infrastructure, maintenance, and ongoing development.

Your support helps keep cloud identity for Linux open and available to everyone.

Sponsor Himmelblau or support a development priority

Installing

Himmelblau is available for multiple Linux distributions, including openSUSE, SUSE Linux Enterprise (SLE), Fedora, Ubuntu, Debian, Red Hat Enterprise Linux (Rocky), and NixOS. Visit the Himmelblau Downloads Page to fetch the appropriate packages for your distribution.

openSUSE Tumbleweed

For openSUSE Tumbleweed, refresh the repositories and install Himmelblau:

bash
sudo zypper ref && sudo zypper in himmelblau nss-himmelblau pam-himmelblau himmelblau-sso

openSUSE Leap and SUSE Linux Enterprise

Add the appropriate repository for your version:

bash
# For Leap 15.6 or SUSE Linux Enterprise 15 SP6:
sudo zypper ar https://download.opensuse.org/repositories/network:/idm/15.6/network:idm.repo

# For Leap 15.5 or SUSE Linux Enterprise 15 SP5:
sudo zypper ar https://download.opensuse.org/repositories/network:/idm/15.5/network:idm.repo

Then refresh and install:

bash
sudo zypper ref && sudo zypper in himmelblau nss-himmelblau pam-himmelblau himmelblau-sso

Fedora and RHEL (including Rocky Linux)

Download the RPMs from the Downloads Page and install:

bash
sudo dnf install ./himmelblau-.rpm ./himmelblau-sshd-config-.rpm ./himmelblau-sso-.rpm ./nss-himmelblau-.rpm ./pam-himmelblau-.rpm

Debian and Ubuntu

Download the DEB packages and install:

bash
sudo apt install ./himmelblau_.deb ./himmelblau-sshd-config_.deb ./himmelblau-sso_.deb ./nss-himmelblau_.deb ./pam-himmelblau_.deb

NixOS

Himmelblau provides multiple packages and a module:

These are automatically installed if you use the module:

  • himmelblau.packages..daemon: The core authentication daemon intended for server deployments.
  • himmelblau.packages..pam: Required for the pam integration to work - your daemon is a bit useless without it.
  • himmelblau.packages..nss: Required for the nss integration to work - your daemon is a bit useless without it.
  • himmelblau.packages..broker: This one is a userspace daemon that responds to calls from the sso package.

You may want to install this one extra if you use a browser other than firefox / chrome:

  • himmelblau.packages..sso: Used to facilitate the communication to the broker

These two are optional and need to be installed by you:

  • himmelblau.packages..aad-tool: The cli to interact with your daemon - you probably want to install it.
  • himmelblau.packages..o365: Installs teams-for-linux with shortcuts to the o365 suite

Enabling the himmelblau cachix cache

Himmelblau builds our packages in CI and uploads them to Cachix so you don't have to compile the software on every update. We sign these binaries before upload, and the cachix client will configure nix to trust our public signing key.

bash
$ nix profile install 'nixpkgs#cachix'
$ cachix use himmelblau

Nixos configurations with NPINS

If you use a sources manager like npins (or lon) you can add the himmelblau by executing: npins add github himmelblau-idm himmelblau -b main

…

bash make

bash

### Install the packages you just built

This installs whatever is already in `./packaging/`.

```bash
sudo make install

Under the hood, make install uses your system package manager (apt, dnf/yum, or zypper) to install the locally built packages.

Building for Other Distros (Optional)

You can also target specific distros explicitly. Available targets (as of now):

  • DEB: ubuntu22.04 ubuntu24.04 ubuntu26.04 debian12 debian13
  • RHEL family: rocky8 rocky9 rocky10 fedora43 fedora44 rawhide
  • SUSE: sle15sp6 sle15sp7 sle16 tumbleweed

Examples:

bash
# Build Ubuntu 22.04 packages
make ubuntu22.04

# Build Rocky 9 packages
make rocky9

# Build openSUSE Tumbleweed packages
make tumbleweed

Packages will be written to ./packaging/. You can then copy them to a target machine and install with the native package manager.

Note (SLE targets): For sle15sp6, sle15sp7, or sle16 builds, put your SCC email and regcode in ${HOME}/.secrets/scc_regcode, formatted as follows:

email=SCC_REGISTRATION_EMAIL
regcode=SCC_REGISTRATION_CODE

Uninstall

bash
sudo make uninstall   # removes installed Himmelblau packages

Configure your instance

vim /etc/himmelblau/himmelblau.conf

It's essential that you configure the domains option, otherwise no users will be able to authenticate.

Run the daemon with:

bash
sudo systemctl start himmelblaud himmelblaud-tasks

Check systemd journal for errors.

Disable nscd

systemctl stop nscd
systemctl disable nscd
systemctl mask nscd

Setup NSS

cp /usr/etc/nsswitch.conf /etc/nsswitch.conf

# vim /etc/nsswitch.conf
passwd:     compat systemd himmelblau
group:      compat systemd himmelblau
shadow:     compat systemd himmelblau

Check that you can resolve a user with

getent passwd 

Setup PAM

WARNING only modify your PAM configuration if you are confident you understand the syntax. The following setup is meant as an example. Removing PAM modules from your stack may prevent you from authenticating to the host. Proceed with caution!

old /etc/pam.d/{common-account,common-auth,common-password,common-session}
cp /etc/pam.d/common-password-pc /etc/pam.d/common-password
cp /etc/pam.d/common-auth-pc /etc/pam.d/common-auth
cp /etc/pam.d/common-account-pc /etc/pam.d/common-account
cp /etc/pam.d/common-session-pc /etc/pam.d/common-session

# vim /etc/pam.d/common-auth
auth        required      pam_env.so
auth        [default=1 ignore=ignore success=ok] pam_localuser.so
auth        sufficient    pam_himmelblau.so
auth        sufficient    pam_unix.so nullok try_first_pass
auth        required      pam_deny.so

# vim /etc/pam.d/common-account
account    [success=ok auth_err=die default=ignore] pam_himmelblau.so ignore_unknown_user
account    sufficient    pam_unix.so
account    required      pam_deny.so

# vim /etc/pam.d/common-session
session optional    pam_systemd.so
session required    pam_limits.so
session optional    pam_himmelblau.so
session optional    pam_unix.so try_first_pass
session optional    pam_umask.so
session optional    pam_env.so

# vim /etc/pam.d/common-password
password	sufficient	pam_himmelblau.so ignore_unknown_user
password        optional        pam_gnome_keyring.so    use_authtok
password	sufficient	pam_unix.so	use_authtok nullok shadow try_first_pass
password	required	pam_deny.so

Developer Builds

If you need to generate a Himmelblau developer build (for advanced debugging with proxy traffic capture), please see DEVELOPER-BUILDS.md in this repository.

Note: Developer builds enable sensitive authentication traffic to be proxied for debugging. They are never intended for production environments.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustentra-idintunelinuxopenid-connect

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言