This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Description
Description
Missing proper error message with ldap. Please not, this not about ldap login working or not, just the error message when portus is misconfigured.
Steps to reproduce
- Enter invalid bind information in
- Try to login
- Missing error message.
- Expected behavior: Get some error / tip which might help finding what is misconfigured
- Actual behavior: got a translation label id
Deployment information
Deployment method: helm chart, v0.1.0
Configuration:
ldap:
enabled: true
hostname: "*****"
port: 636
# Available options: "plain", "simple_tls" and "starttls". The default is
# "plain", the recommended is "starttls".
method: simple_tls
# The base where users are located (e.g. "ou=users,dc=example,dc=com").
base: "OU=Users,DC=****,DC=com"
# User filter (e.g. "mail=george*").
filter: "(objectClass=person)"
# The LDAP attribute where to search for username. The default is 'uid'.
uid: "sAMAccountName"
# LDAP credentials used to search for a user.
authentication:
enabled: true
bind_dn: ****
password: *****
guess_email:
enabled: false
attr:
Portus version: 2.3