feat: add ldap_only config option

This commit is contained in:
RatCornu 2025-08-14 22:48:55 +02:00 committed by Ellis Git
commit 57d7743037
3 changed files with 35 additions and 10 deletions

View file

@ -1787,11 +1787,17 @@
#
#enable = false
# Whether to force LDAP authentication or authorize classical password login.
#
# example: "true"
#
#ldap_only = false
# URI of the LDAP server.
#
# example: "ldap://ldap.example.com:389"
#
#uri =
#uri = ""
# Root of the searches.
#
@ -1810,14 +1816,14 @@
# example: "cn=ldap-reader,dc=example,dc=org" or
# "cn={username},ou=users,dc=example,dc=org"
#
#bind_dn =
#bind_dn = ""
# Path to a file on the system that contains the password for the
# `bind_dn`.
#
# The server must be able to access the file, and it must not be empty.
#
#bind_password_file = false
#bind_password_file = ""
# Search filter to limit user searches.
#
@ -1858,4 +1864,4 @@
#
# example: "(objectClass=conduwuitAdmin)" or "(uid={username})"
#
#admin_filter =
#admin_filter = ""