[GH-ISSUE #4] I'm not able to properly configure LDAP access #2

Closed
opened 2026-03-02 03:44:32 +03:00 by kerem · 13 comments
Owner

Originally created by @luizjr on GitHub (Feb 9, 2022).
Original GitHub issue: https://github.com/dignajar/another-ldap/issues/4

I'm not able to properly configure LDAP access
It always returns connection error
image

Originally created by @luizjr on GitHub (Feb 9, 2022). Original GitHub issue: https://github.com/dignajar/another-ldap/issues/4 I'm not able to properly configure LDAP access It always returns connection error ![image](https://user-images.githubusercontent.com/1474563/153151477-f5b4fe12-865c-4479-b272-114656701563.png)
kerem closed this issue 2026-03-02 03:44:32 +03:00
Author
Owner

@dignajar commented on GitHub (Feb 9, 2022):

Looks like the username or password is incorrect is not about connection error.

The finalUsername displayed in the logs has the correct structure for your LDAP server ? have you tried with ldapsearch ?

<!-- gh-comment-id:1033515924 --> @dignajar commented on GitHub (Feb 9, 2022): Looks like the username or password is incorrect is not about connection error. The finalUsername displayed in the logs has the correct structure for your LDAP server ? have you tried with `ldapsearch` ?
Author
Owner

@luizjr commented on GitHub (Feb 9, 2022):

I don't know, I've tried several ways but none establish a connection.

image

<!-- gh-comment-id:1033538338 --> @luizjr commented on GitHub (Feb 9, 2022): I don't know, I've tried several ways but none establish a connection. ![image](https://user-images.githubusercontent.com/1474563/153295012-57cccb6c-dc15-46f2-9284-924a9c22ca41.png)
Author
Owner

@glebrodionov94old commented on GitHub (Feb 14, 2022):

hi! somthing wrong?
image
image
image

<!-- gh-comment-id:1039276997 --> @glebrodionov94old commented on GitHub (Feb 14, 2022): hi! somthing wrong? ![image](https://user-images.githubusercontent.com/94922743/153901913-7f8e0f97-ed43-4cc5-9767-cd7d341d4c87.png) ![image](https://user-images.githubusercontent.com/94922743/153901976-722d1bab-c57c-41a6-997f-8a1cd26e6b1c.png) ![image](https://user-images.githubusercontent.com/94922743/153902510-fe4e49a1-17ad-4d3f-9097-a0fe75cca549.png)
Author
Owner

@luizjr commented on GitHub (Feb 14, 2022):

hi! somthing wrong? image image image

Now I'm having the same problem!

image

<!-- gh-comment-id:1039404820 --> @luizjr commented on GitHub (Feb 14, 2022): > hi! somthing wrong? ![image](https://user-images.githubusercontent.com/94922743/153901913-7f8e0f97-ed43-4cc5-9767-cd7d341d4c87.png) ![image](https://user-images.githubusercontent.com/94922743/153901976-722d1bab-c57c-41a6-997f-8a1cd26e6b1c.png) ![image](https://user-images.githubusercontent.com/94922743/153902510-fe4e49a1-17ad-4d3f-9097-a0fe75cca549.png) Now I'm having the same problem! ![image](https://user-images.githubusercontent.com/1474563/153922816-7a1b8a60-d812-4fbb-bc1c-8e13c4d18e52.png)
Author
Owner

@glebrodionov94old commented on GitHub (Feb 15, 2022):

Привет! что-то не так?изображение изображение изображение

Теперь у меня такая же проблема!

изображение

add configmap COOKIE_DOMAIN: .example.com

<!-- gh-comment-id:1039908735 --> @glebrodionov94old commented on GitHub (Feb 15, 2022): > > Привет! что-то не так?![изображение](https://user-images.githubusercontent.com/94922743/153901913-7f8e0f97-ed43-4cc5-9767-cd7d341d4c87.png) ![изображение](https://user-images.githubusercontent.com/94922743/153901976-722d1bab-c57c-41a6-997f-8a1cd26e6b1c.png) ![изображение](https://user-images.githubusercontent.com/94922743/153902510-fe4e49a1-17ad-4d3f-9097-a0fe75cca549.png) > > Теперь у меня такая же проблема! > > ![изображение](https://user-images.githubusercontent.com/1474563/153922816-7a1b8a60-d812-4fbb-bc1c-8e13c4d18e52.png) add configmap COOKIE_DOMAIN: .example.com
Author
Owner

@dignajar commented on GitHub (Feb 15, 2022):

can you paste all your Kubernetes manifests ?

<!-- gh-comment-id:1039988087 --> @dignajar commented on GitHub (Feb 15, 2022): can you paste all your Kubernetes manifests ?
Author
Owner

@yuyangood commented on GitHub (Feb 15, 2022):

can you paste all your Kubernetes manifests ?

I'm also having the same problem!

image

image

image

image

image

app ingress manifests:
image

<!-- gh-comment-id:1040103481 --> @yuyangood commented on GitHub (Feb 15, 2022): > can you paste all your Kubernetes manifests ? I'm also having the same problem! ![image](https://user-images.githubusercontent.com/20431543/154042017-34ef8e1f-6380-4b7a-87b2-163d1ed1e1ed.png) ![image](https://user-images.githubusercontent.com/20431543/154042121-b35f88e8-0939-484e-9f06-ea69500d7d19.png) ![image](https://user-images.githubusercontent.com/20431543/154042167-304b0390-3a5c-41eb-8432-863ea3bd676b.png) ![image](https://user-images.githubusercontent.com/20431543/154042257-f886055d-32d8-460a-9935-cdea8c0accd8.png) ![image](https://user-images.githubusercontent.com/20431543/154042809-bcd252fd-e569-4417-b3b0-d47f1e5d76a0.png) app ingress manifests: ![image](https://user-images.githubusercontent.com/20431543/154041667-a3b3109a-dda2-41cc-8375-bc7e16741c49.png)
Author
Owner

@glebrodionov94old commented on GitHub (Feb 15, 2022):

Вы можете вставить все свои манифесты Kubernetes?

У меня тоже такая же проблема!

try to add configmap COOKIE_DOMAIN: .50yc.com

<!-- gh-comment-id:1040117667 --> @glebrodionov94old commented on GitHub (Feb 15, 2022): > > Вы можете вставить все свои манифесты Kubernetes? > > У меня тоже такая же проблема! > try to add configmap COOKIE_DOMAIN: .50yc.com
Author
Owner

@dignajar commented on GitHub (Feb 15, 2022):

Yes in all configurations you posted here is missing the environment COOKIE_DOMAIN.

To start with the troubleshooting, try to log in to the Login page, another-ldap.50yc.com.

<!-- gh-comment-id:1040229264 --> @dignajar commented on GitHub (Feb 15, 2022): Yes in all configurations you posted here is missing the environment `COOKIE_DOMAIN`. To start with the troubleshooting, try to log in to the Login page, `another-ldap.50yc.com`.
Author
Owner

@luizjr commented on GitHub (Feb 15, 2022):

When I put the COOKIE_DOMAIN I can login. But I would like to know if there is a way to change the image without having to mess with the code.

<!-- gh-comment-id:1040383355 --> @luizjr commented on GitHub (Feb 15, 2022): > When I put the `COOKIE_DOMAIN` I can login. But I would like to know if there is a way to change the image without having to mess with the code.
Author
Owner

@yuyangood commented on GitHub (Feb 16, 2022):

Вы можете вставить все свои манифесты Kubernetes?

У меня тоже такая же проблема!

try to add configmap COOKIE_DOMAIN: .50yc.com

Thank for you ask. Now I can login. Thank

<!-- gh-comment-id:1041029906 --> @yuyangood commented on GitHub (Feb 16, 2022): > > > Вы можете вставить все свои манифесты Kubernetes? > > > > > > У меня тоже такая же проблема! > > try to add configmap COOKIE_DOMAIN: .50yc.com Thank for you ask. Now I can login. Thank
Author
Owner

@dignajar commented on GitHub (Feb 16, 2022):

@luizjr you need to change this file https://github.com/dignajar/another-ldap/tree/main/files/static and re-build the docker image.

<!-- gh-comment-id:1041236118 --> @dignajar commented on GitHub (Feb 16, 2022): @luizjr you need to change this file https://github.com/dignajar/another-ldap/tree/main/files/static and re-build the docker image.
Author
Owner

@luizjr commented on GitHub (Feb 16, 2022):

@luizjr you need to change this file https://github.com/dignajar/another-ldap/tree/main/files/static and re-build the docker image.

I made a pull request, and it still suggests another improvement, please check

<!-- gh-comment-id:1041353957 --> @luizjr commented on GitHub (Feb 16, 2022): > @luizjr you need to change this file https://github.com/dignajar/another-ldap/tree/main/files/static and re-build the docker image. I made a pull request, and it still suggests another improvement, please check
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/another-ldap#2
No description provided.