summaryrefslogtreecommitdiff
path: root/doc/administration/auth/ldap.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/administration/auth/ldap.md')
-rw-r--r--doc/administration/auth/ldap.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/administration/auth/ldap.md b/doc/administration/auth/ldap.md
index db7c11ada10..067fdfd0018 100644
--- a/doc/administration/auth/ldap.md
+++ b/doc/administration/auth/ldap.md
@@ -405,7 +405,7 @@ production:
Tip: If you want to limit access to the nested members of an Active Directory
group, you can use the following syntax:
-```text
+```plaintext
(memberOf:1.2.840.113556.1.4.1941:=CN=My Group,DC=Example,DC=com)
```
@@ -423,13 +423,13 @@ The `user_filter` DN can contain special characters. For example:
- A comma:
- ```text
+ ```plaintext
OU=GitLab, Inc,DC=gitlab,DC=com
```
- Open and close brackets:
- ```text
+ ```plaintext
OU=Gitlab (Inc),DC=gitlab,DC=com
```
@@ -438,13 +438,13 @@ The `user_filter` DN can contain special characters. For example:
- Escape commas with `\2C`. For example:
- ```text
+ ```plaintext
OU=GitLab\2C Inc,DC=gitlab,DC=com
```
- Escape open and close brackets with `\28` and `\29`, respectively. For example:
- ```text
+ ```plaintext
OU=Gitlab \28Inc\29,DC=gitlab,DC=com
```
@@ -603,7 +603,7 @@ GitLab. Common combinations are `encryption: 'plain'` and `port: 389`, OR
If GitLab cannot reach your LDAP endpoint, you will see a message like this:
-```
+```plaintext
Could not authenticate you from Ldapmain because "Connection timed out - user specified timeout".
```