mirror of
https://github.com/glauth/glauth.git
synced 2026-10-25 05:30:47 +00:00
1b92cfbae6
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de> Co-authored-by: Zhou Wenzong <wenzong@users.noreply.github.com> Co-authored-by: Jairo Llopis <Yajo@users.noreply.github.com> Co-authored-by: Benedikt Kulmann <benedikt@kulmann.biz> Co-authored-by: Nicolai Willems <172633+nwillems@users.noreply.github.com> Co-authored-by: Thibault Soubiran <soubi.thibault@gmail.com> Co-authored-by: Clement JACOB <clems71@gmail.com> Co-authored-by: Lutz Horn <code@lhorn.de> Co-authored-by: Márk Sági-Kazár <sagikazarmark@users.noreply.github.com> Co-authored-by: Peter Heise <pheise@koprolalie.com> Co-authored-by: Ben Yanke <ben@benyanke.com> Co-authored-by: Chris F Ravenscroft <chris@voilaweb.com> Co-authored-by: fanlix <fanlix@gmail.com>
39 lines
721 B
INI
39 lines
721 B
INI
#################
|
|
# glauth.conf
|
|
|
|
#################
|
|
# General configuration.
|
|
#debug = true
|
|
syslog = true
|
|
|
|
#################
|
|
# Server configuration.
|
|
[ldap]
|
|
enabled = true
|
|
listen = "0.0.0.0:389"
|
|
|
|
[ldaps]
|
|
enabled = true
|
|
listen = "0.0.0.0:636"
|
|
cert = "glauth.crt"
|
|
key = "glauth.key"
|
|
|
|
#################
|
|
# The backend section controls the data store.
|
|
[backend]
|
|
datastore = "ldap"
|
|
servers = [ "ldaps://server1:636", "ldaps://server2:636" ]
|
|
|
|
# Ignore SSL certificate errors when connecting to backend LDAP servers.
|
|
#insecure = true
|
|
|
|
#################
|
|
# Enable and configure the optional REST API here.
|
|
[api]
|
|
enabled = true
|
|
tls = true
|
|
listen = "localhost:5555"
|
|
cert = "glauth.crt"
|
|
key = "glauth.key"
|
|
|