diff --git a/example_configs/gogs.md b/example_configs/gogs.md index ba1b49b..55b7778 100644 --- a/example_configs/gogs.md +++ b/example_configs/gogs.md @@ -8,7 +8,7 @@ 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, check your configuration. It will generally be 389 or 3890 for unencrypted (once again check your config files), 636 or 6360 for LDAPS (once again check your config files). +As your port, check your configuration. It will generally be 3890 for unencrypted (once again check your config/docker compose files), and 6360 for LDAPS (once again check your config/docker compose files). Your User DN should follow this pattern: `uid=%s,ou=people,` (for example, `uid=%s,ou=people,dc=example,dc=com`). Replace `` with your actual base DN. It is recommended to have your user filter to be `(&(objectClass=person)(uid=%s))`. Set username attribute to `uid`, Given Name to `givenName`, surname to `sn`, and email to `mail`