From 29b2411c6da37c3cdc44c280ef0d8c9ef4bdf5d5 Mon Sep 17 00:00:00 2001 From: Reefsoft Date: Wed, 15 Apr 2026 00:37:06 +0200 Subject: [PATCH] Fix a port issue and a Bind DN issue --- example_configs/gogs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example_configs/gogs.md b/example_configs/gogs.md index bc3b7ac..29a4469 100644 --- a/example_configs/gogs.md +++ b/example_configs/gogs.md @@ -8,8 +8,8 @@ For type, select "LDAP (Simple Auth)". Name your authentication source however you'd like. It is up to you to select your security protocol, but the only two compatible options are "LDAPS" and "Unencrypted". As your host, put in the IP or FQDN (if you have DNS). -As your port, it is suggested to look into your config file. It will generally be 389 (unencrypted), 3890 (unencrypted, in default docker compose), 636 (LDAPS), 6360 (LDAPS, in default docker compose). -Your User DN **has** to be equal to `uid=%s,ou=people,dc=example,dc=com`, except if you changed your Base DN. In that case, modify the two last parts to match it. +As your port, it is suggested to look into your config or docker compose file. It will generally be 389 (unencrypted), 3890 (unencrypted, in default docker compose), 636 (LDAPS), 6360 (LDAPS, in default docker compose). +Your User DN **has** to be equal to `uid=%s,ou=people,dc=example,dc=com`, except if you changed your Base DN. In that case, remove the two last parts and add it at the end. It is recommended to have your user filter to be `(&(objectClass=person)(uid=%s))`. Your username attribute should be `uid`. Your Given Name attribute should be `givenName`.