From e96e4c4adf2e933fbee72b0fd767b6db3dc35730 Mon Sep 17 00:00:00 2001 From: Reefsoft Date: Wed, 15 Apr 2026 00:28:58 +0200 Subject: [PATCH] Fixed a problem regarding User DN in SimpleAuth method --- example_configs/gogs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example_configs/gogs.md b/example_configs/gogs.md index e928ed7..bc3b7ac 100644 --- a/example_configs/gogs.md +++ b/example_configs/gogs.md @@ -9,7 +9,7 @@ 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`. +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. 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`.