From f949575a01753f8e227aafdecafe759d02007496 Mon Sep 17 00:00:00 2001 From: Reefsoft Date: Wed, 15 Apr 2026 02:22:57 +0200 Subject: [PATCH] Fix style again --- example_configs/gogs.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/example_configs/gogs.md b/example_configs/gogs.md index 2c02079..ba1b49b 100644 --- a/example_configs/gogs.md +++ b/example_configs/gogs.md @@ -9,12 +9,9 @@ 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). -Your User DN should look like `uid=%s,ou=people,dc=example,dc=com` if you have `dc=example,dc=com`, except if you changed your Base DN. In that case, remove `dc=example,dc=com` and add your Base DN at the end. +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 the username attribute to be `uid`. -Your Given Name attribute should be `givenName`. -You should set the surname attribute to be `sn`. -Your email attribute should be `mail`. +Set username attribute to `uid`, Given Name to `givenName`, surname to `sn`, and email to `mail` You can (and should if you don't know LDAP) leave the rest empty.