dignajar / another-ldap

Another LDAP is a form-based authentication for Active Directory / LDAP server. Provides Authentication and Authorization for your applications running in Kubernetes.
MIT License
53 stars 13 forks source link

I'm not able to properly configure LDAP access #4

Closed luizjr closed 2 years ago

luizjr commented 2 years ago

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

dignajar commented 2 years ago

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 ?

luizjr commented 2 years ago

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

image

glebrodionov94 commented 2 years ago

hi! somthing wrong? image image image

luizjr commented 2 years ago

hi! somthing wrong? image image image

Now I'm having the same problem!

image

glebrodionov94 commented 2 years ago

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

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

изображение

add configmap COOKIE_DOMAIN: .example.com

dignajar commented 2 years ago

can you paste all your Kubernetes manifests ?

yuyangood commented 2 years ago

can you paste all your Kubernetes manifests ?

I'm also having the same problem!

image

image

image

image

image

app ingress manifests: image

glebrodionov94 commented 2 years ago

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

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

try to add configmap COOKIE_DOMAIN: .50yc.com

dignajar commented 2 years ago

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.

luizjr commented 2 years ago

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.

yuyangood commented 2 years ago

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

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

try to add configmap COOKIE_DOMAIN: .50yc.com

Thank for you ask. Now I can login. Thank

dignajar commented 2 years ago

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

luizjr commented 2 years ago

@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