From 35d0d8005d2f0278b2422f1b63a3e9186f55b6f2 Mon Sep 17 00:00:00 2001 From: Reefsoft Date: Wed, 15 Apr 2026 00:53:44 +0200 Subject: [PATCH] Fix style issues --- example_configs/gogs.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/example_configs/gogs.md b/example_configs/gogs.md index d42a562..2c02079 100644 --- a/example_configs/gogs.md +++ b/example_configs/gogs.md @@ -8,12 +8,12 @@ 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/3890 for unencrypted (once again check you config files), 636/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 the two last parts and add it at the end. +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. It is recommended to have your user filter to be `(&(objectClass=person)(uid=%s))`. -Your username attribute should be `uid`. +Set the username attribute to be `uid`. Your Given Name attribute should be `givenName`. -Your surname attribute should be `sn`. +You should set the surname attribute to be `sn`. Your email attribute should be `mail`. You can (and should if you don't know LDAP) leave the rest empty.