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`.