-
Notifications
You must be signed in to change notification settings - Fork 49
Add authentik ldap outpost #1147
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
Open
nsklikas
wants to merge
1
commit into
canonical:main
Choose a base branch
from
nsklikas:IAM-2248
base: main
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.
+72
−0
Open
Changes from all commits
Commits
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| notify: | ||
| emails: | ||
| - identity.charmers@lists.launchpad.net | ||
| mattermost-channels: | ||
| - ofi4for9obfq8m978h318x56ar | ||
| maintainers: | ||
| - canonical-iam |
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,46 @@ | ||
| version: 2 | ||
| application: authentik-ldap-outpost | ||
| description: | | ||
| The authentik LDAP outpost is an Identity Provider outpost that allows authentik | ||
| to act as an LDAP server. It serves as an LDAP interface for your authentik instance, | ||
| enabling legacy applications that do not support modern protocols like OIDC or SAML | ||
| to authenticate users. | ||
| website: https://goauthentik.io | ||
| issues: https://github.com/canonical/authentik-ldap-outpost-rock/issues | ||
| source-code: https://github.com/canonical/authentik-ldap-outpost-rock | ||
|
|
||
| docker: | ||
| parameters: >- | ||
| -p 3389:3389 | ||
| -p 6636:6636 | ||
| -e AUTHENTIK_HOST=http://authentik-server:9000 | ||
| -e AUTHENTIK_TOKEN=your-ldap-outpost-token | ||
| run_conclusion: | | ||
| The authentik LDAP outpost starts and serves LDAP on port `3389` and LDAPS on port `6636`. | ||
| Access the LDAP outpost server at `ldap://localhost:3389`. | ||
|
|
||
| config: | ||
| AUTHENTIK_HOST: | ||
| type: env | ||
| description: The URL of the authentik server that the outpost connects to (e.g., `https://authentik.company` or `http://authentik-server:9000`). | ||
| AUTHENTIK_TOKEN: | ||
| type: env | ||
| description: The token used to authenticate with the core authentik server. Create an outpost in the authentik Admin UI to generate this token. | ||
| AUTHENTIK_INSECURE: | ||
| type: env | ||
| description: Set to "true" to disable TLS certificate verification when connecting to the authentik server (e.g., when using self-signed certificates). | ||
| default: "false" | ||
| AUTHENTIK_LISTEN__LDAP: | ||
| type: env | ||
| description: Internal address and port for the LDAP server to listen on. | ||
| default: "[::]:3389" | ||
| AUTHENTIK_LISTEN__LDAPS: | ||
| type: env | ||
| description: Internal address and port for the LDAPS server to listen on. | ||
| default: "[::]:6636" | ||
| '`-p <port>:3389`': | ||
| type: port | ||
| description: Expose the LDAP port 3389 on the host's `<port>`. | ||
| '`-p <port>:6636`': | ||
| type: port | ||
| description: Expose the LDAPS port 6636 on the host's `<port>`. |
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,19 @@ | ||
| version: 2 | ||
| upload: | ||
| - source: "canonical/authentik-ldap-outpost-rock" | ||
| commit: 7615949649e03d73d217b08494f9f3295550dd01 | ||
| directory: . | ||
| release: | ||
| # Upstream does not follow semver; a new version is released every 3 months. | ||
| # Upstream versions have a patch version digit, which we are dropping (upstream | ||
| # follows the same convention on Docker Hub). | ||
| 2026.5-26.04: | ||
| risks: | ||
| - edge | ||
| end-of-life: "2026-09-29T00:00:00Z" | ||
| ignored-vulnerabilities: | ||
| # Both CVEs are fixed upstream well before the version we build (2026.5.3); | ||
| # trivy matches them because Go stamps the main module of an in-tree build | ||
| # with a pseudo-version (v0.0.0-<ts>-<sha>) instead of the release version. | ||
| - CVE-2024-42490 # goauthentik.io: Insufficient authorization on several API endpoints. Fixed upstream in 2024.4.4/2024.6.4. https://github.com/goauthentik/authentik/security/advisories/GHSA-qxqc-27pr-wgc8 | ||
| - CVE-2024-23647 # goauthentik.io: PKCE downgrade attack. Fixed upstream in 2023.8.7/2023.10.7. https://github.com/goauthentik/authentik/security/advisories/GHSA-mrx3-gxjx-hjqj | ||
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.
[blocker] Source-recipe security manifest is wired non-standardly (§4). The pinned recipe (
canonical/authentik-ldap-outpost-rock@bc0be6fc478afa164c85dcafcc367d1c7855915e) declaresstage-packages(chisel sliceslibc6_libs,ca-certificates_data, …), so it MUST include the standardized security-manifest part sourced fromhttps://github.com/canonical/rocks-security-manifest. Instead it hand-rolls adeb-security-manifestpart withplugin: niland a customdpkg-queryoverride-prime. Please switch to the exact part from that repo's README and re-pincommit: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.
updated