-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
feat(authentication): suport ldap over unix socket #5397
Conversation
This allows listening on unix sockets. Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
This allows listening on unix sockets. Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
ArtifactsThese changes are published for testing on Buildkite, DockerHub and GitHub Container Registry. Docker Container
|
d66c43a
to
df2018a
Compare
✅ Deploy Preview for authelia-staging ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
df2018a
to
b43f047
Compare
c107dd1
to
1b33352
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #5397 +/- ##
==========================================
+ Coverage 67.79% 68.16% +0.36%
==========================================
Files 279 280 +1
Lines 21745 21844 +99
Branches 438 438
==========================================
+ Hits 14742 14889 +147
+ Misses 6203 6149 -54
- Partials 800 806 +6
Flags with carried forward coverage won't be shown. Click here to find out more.
|
This adds support for LDAP unix sockets using the ldapi scheme. In addition it improves all of the address related parsing significantly deprecating old options. Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
daad82e
to
9dd9a3d
Compare
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.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
yamllint
internal/configuration/test_resources/config.deprecated.alt.yml|91 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|92 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|94 col 16| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|94 col 42| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|95 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|100 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|103 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|106 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|110 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|113 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|117 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|120 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|123 col 17| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|123 col 30| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|124 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|127 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|131 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|136 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|141 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|144 col 9| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|147 col 11| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|149 col 11| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|152 col 22| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|161 col 11| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|163 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|164 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|168 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|169 col 11| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.alt.yml|171 col 13| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|2 col 26| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|9 col 25| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|11 col 19| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|12 col 19| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|14 col 25| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|16 col 19| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|17 col 19| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|19 col 25| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|21 col 19| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|22 col 19| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|24 col 25| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|27 col 10| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|30 col 11| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|33 col 13| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|34 col 20| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|68 col 14| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|69 col 25| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|70 col 26| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|71 col 19| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|72 col 27| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|73 col 20| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|74 col 27| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|75 col 21| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|76 col 11| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|79 col 19| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|83 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|84 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|86 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|87 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|90 col 11| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|91 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|92 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|94 col 16| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|94 col 42| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|95 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|100 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|103 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|106 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|110 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|113 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|117 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|120 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|123 col 17| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|123 col 30| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|124 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|127 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|131 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|136 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|141 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|144 col 9| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|147 col 11| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|149 col 11| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|152 col 22| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|161 col 11| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|163 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|164 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|168 col 15| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|169 col 11| [error] string value is not quoted with single quotes (quoted-strings)
internal/configuration/test_resources/config.deprecated.yml|171 col 13| [error] string value is not quoted with single quotes (quoted-strings)
ad60ffc
to
0251caf
Compare
1394b8f
to
40271ff
Compare
40271ff
to
5385389
Compare
# Conflicts: # config.template.yml # docs/content/en/configuration/miscellaneous/server.md # docs/content/en/configuration/prologue/common.md # docs/content/en/configuration/telemetry/metrics.md # docs/data/configkeys.json # internal/configuration/config.template.yml # internal/configuration/decode_hooks.go # internal/configuration/deprecation.go # internal/configuration/provider_test.go # internal/configuration/schema/keys.go # internal/configuration/schema/types.go # internal/configuration/schema/types_test.go # internal/configuration/test_resources/config.yml # internal/configuration/test_resources/config_alt.yml # internal/configuration/test_resources/config_bad_keys.yml # internal/configuration/test_resources/config_bad_quoting.yml # internal/configuration/test_resources/config_domain_bad_regex.yml # internal/configuration/test_resources/config_domain_regex.yml # internal/configuration/test_resources/config_oidc.yml # internal/configuration/test_resources/config_smtp_sender_blank.yml # internal/configuration/test_resources/config_smtp_sender_invalid.yml # internal/configuration/test_resources/config_with_secret.yml # internal/configuration/validator/const.go # internal/configuration/validator/const_test.go # internal/suites/ActiveDirectory/configuration.yml # internal/suites/BypassAll/configuration.yml # internal/suites/CLI/configuration.yml # internal/suites/Caddy/configuration.yml # internal/suites/Docker/configuration.yml # internal/suites/DuoPush/configuration.yml # internal/suites/Envoy/configuration.yml # internal/suites/HAProxy/configuration.yml # internal/suites/HighAvailability/configuration.yml # internal/suites/LDAP/configuration.yml # internal/suites/MariaDB/configuration.yml # internal/suites/MultiCookieDomain/configuration.yml # internal/suites/MySQL/configuration.yml # internal/suites/NetworkACL/configuration.yml # internal/suites/OIDC/configuration.yml # internal/suites/OIDCTraefik/configuration.yml # internal/suites/OneFactorOnly/configuration.yml # internal/suites/PathPrefix/configuration.yml # internal/suites/Postgres/configuration.yml # internal/suites/ShortTimeouts/configuration.yml # internal/suites/Standalone/configuration.yml # internal/suites/Traefik/configuration.yml # internal/suites/Traefik2/configuration.yml
No description provided.