From 7b171cf59a48dd17323057b8b1174f7e2f3aea33 Mon Sep 17 00:00:00 2001 From: poVoq Date: Tue, 15 Aug 2023 12:45:11 +0000 Subject: [PATCH] example_configs: Add ergo.md For the ergo.chat IRC server --- example_configs/ergo.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 example_configs/ergo.md diff --git a/example_configs/ergo.md b/example_configs/ergo.md new file mode 100644 index 0000000..8c2d61a --- /dev/null +++ b/example_configs/ergo.md @@ -0,0 +1,22 @@ +# Basic LDAP auth for an Ergo IRC server + +[Main documentation here.](https://github.com/ergochat/ergo-ldap) + +For simple user auth prepare a ldap-config.yaml with the following settings + +``` +host: "127.0.0.1" +port: 3890 +timeout: 30s + +# uncomment for TLS / LDAPS: +# use-ssl: true + +bind-dn: "uid=%s,ou=people,dc=example,dc=org" +``` + +Then add the compiled ergo-ldap program to your Ergo folder and make sure it can be executed by the same user your Ergo IRCd runs as. + +Follow the instructions in the main Ergo config file's accounts section on how to execute an external auth program. + +Make sure SASL auth is enabled and then restart Ergo to enable LDAP linked SASL auth.