LDAP authentication process modification #825

Open
aitzol wants to merge 3 commits from aitzol/akkoma:ldap-auth-changes into develop
First-time contributor
  1. Added eldap module, see issue 671
  2. Modified LDAP authentication process. In some servers it is not possible to authenticate the user using the UID, since it is not part of the user's DN required for the simple bind. In the proposed way, a search for the user is performed using his UID, obtaining at that moment his CN and then authenticating himself. For the changes to work it is necessary to add the login credentials to the LDAP server using environment variables in the .env file, like this:
LDAP_READONLY_USER_USERNAME="readonly"
LDAP_READONLY_USER_PASSWORD="secret"
1. Added **eldap** module, see [issue 671](https://akkoma.dev/AkkomaGang/akkoma/issues/671) 2. Modified **LDAP** authentication process. In some servers it is not possible to authenticate the user using the `UID`, since it is not part of the user's `DN` required for the _simple bind_. In the proposed way, a search for the user is performed using his `UID`, obtaining at that moment his `CN` and then authenticating himself. For the changes to work it is necessary to add the login credentials to the **LDAP** server using environment variables in the `.env` file, like this: ```bash LDAP_READONLY_USER_USERNAME="readonly" LDAP_READONLY_USER_PASSWORD="secret" ```
aitzol added 1 commit 2024-08-05 10:03:25 +00:00
LDAP authentication process modification
Some checks failed
ci/woodpecker/pr/lint Pipeline failed
ci/woodpecker/pr/test unknown status
ci/woodpecker/pr/build-arm64 unknown status
ci/woodpecker/pr/build-amd64 unknown status
ci/woodpecker/pr/docs unknown status
72a831099e
aitzol added 1 commit 2024-08-25 18:01:03 +00:00
Merge branch 'develop' into ldap-auth-changes
Some checks are pending
ci/woodpecker/pr/build-amd64 Pipeline is pending
ci/woodpecker/pr/build-arm64 Pipeline is pending
ci/woodpecker/pr/docs Pipeline is pending
ci/woodpecker/pr/lint Pipeline is pending
ci/woodpecker/pr/test Pipeline is pending
962f58daf5
aitzol added 1 commit 2024-09-26 03:30:22 +00:00
Merge branch 'develop' into ldap-auth-changes
Some checks are pending
ci/woodpecker/pr/build-amd64 Pipeline is pending
ci/woodpecker/pr/build-arm64 Pipeline is pending
ci/woodpecker/pr/docs Pipeline is pending
ci/woodpecker/pr/lint Pipeline is pending
ci/woodpecker/pr/test Pipeline is pending
027ae524df
Some checks are pending
ci/woodpecker/pr/build-amd64 Pipeline is pending
ci/woodpecker/pr/build-arm64 Pipeline is pending
ci/woodpecker/pr/docs Pipeline is pending
ci/woodpecker/pr/lint Pipeline is pending
ci/woodpecker/pr/test Pipeline is pending
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u ldap-auth-changes:aitzol-ldap-auth-changes
git checkout aitzol-ldap-auth-changes
Sign in to join this conversation.
No description provided.