-
Notifications
You must be signed in to change notification settings - Fork 289
himmelblau: add Entra ID provider with libhimmelblau integration #8661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
dmulder
wants to merge
4
commits into
SSSD:master
Choose a base branch
from
dmulder:dmulder/himmelblau_provider
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 3 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
ff0e752
providers: add himmelblau authentication provider scaffold
dmulder 5ecb7da
build: integrate libhimmelblau into himmelblau provider build
dmulder ac0df61
providers: implement himmelblau Azure AD authentication
dmulder 1904938
providers: fix insecure password buffer clearing in himmelblau
dmulder File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| AC_SUBST(HIMMELBLAU_LIBS) | ||
| AC_SUBST(HIMMELBLAU_CFLAGS) | ||
|
|
||
| found_himmelblau=no | ||
| BUILD_VENDORED_HIMMELBLAU=no | ||
|
|
||
| AS_IF([test x$with_himmelblau != xno], [ | ||
| PKG_CHECK_MODULES([HIMMELBLAU], [himmelblau >= 0.8.0], | ||
| [found_himmelblau=yes], | ||
| [found_himmelblau=no]) | ||
|
|
||
| AS_IF([test x"$found_himmelblau" = xno], | ||
| [AC_CHECK_PROG([CARGO], [cargo], [cargo]) | ||
| AC_CHECK_PROG([CARGO_CBUILD], [cargo-cbuild], [cargo-cbuild]) | ||
|
|
||
| AS_IF([test x"$CARGO" != x -a x"$CARGO_CBUILD" != x], | ||
| [AS_IF([test -f "$srcdir/src/external/libhimmelblau/Cargo.toml"], | ||
| [AC_MSG_NOTICE([Will build vendored libhimmelblau]) | ||
| found_himmelblau=vendored | ||
| BUILD_VENDORED_HIMMELBLAU=yes | ||
| HIMMELBLAU_CFLAGS="-I\$(top_builddir)/src/external/libhimmelblau/target/include" | ||
| HIMMELBLAU_LIBS="-L\$(top_builddir)/src/external/libhimmelblau/target/\$(host)/release -lhimmelblau"], | ||
| [AC_MSG_WARN([No system libhimmelblau and no vendored source found])] | ||
| )] | ||
| )] | ||
| ) | ||
| ]) | ||
|
|
||
| AM_CONDITIONAL([BUILD_VENDORED_HIMMELBLAU], [test x"$BUILD_VENDORED_HIMMELBLAU" = xyes]) | ||
| AM_CONDITIONAL([HAVE_LIBHIMMELBLAU], [test x"$found_himmelblau" != xno]) |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do I understand correctly lib isn't yet(?) available in Fedora repos?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not. It's not even in openSUSE distro repos yet: https://build.opensuse.org/package/show/network:samba:STABLE/libhimmelblau
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Canonical is currently shipping it vendored as part of Authd. SUSE ships it via the rust crate, inside of Himmelblau.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So you could alternatively just vendor the package within SSSD, and ship it bundled.