diff options
-rw-r--r-- | doc/administration/auth/ldap.md | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/administration/auth/ldap.md b/doc/administration/auth/ldap.md index f6b3061cd93..1f2961ea39a 100644 --- a/doc/administration/auth/ldap.md +++ b/doc/administration/auth/ldap.md @@ -400,30 +400,30 @@ The `user_filter` DN can contain special characters. For example: - A comma: -``` -OU=GitLab, Inc,DC=gitlab,DC=com -``` + ``` + OU=GitLab, Inc,DC=gitlab,DC=com + ``` - Open and close brackets: -``` -OU=Gitlab (Inc),DC=gitlab,DC=com -``` + ``` + OU=Gitlab (Inc),DC=gitlab,DC=com + ``` -These characters must be escaped as documented in -[RFC 4515](https://tools.ietf.org/search/rfc4515). + These characters must be escaped as documented in + [RFC 4515](https://tools.ietf.org/search/rfc4515). - Escape commas with `\2C`. For example: -``` -OU=GitLab\2C Inc,DC=gitlab,DC=com -``` + ``` + OU=GitLab\2C Inc,DC=gitlab,DC=com + ``` - Escape open and close brackets with `\28` and `\29`, respectively. For example: -``` -OU=Gitlab \28Inc\29,DC=gitlab,DC=com -``` + ``` + OU=Gitlab \28Inc\29,DC=gitlab,DC=com + ``` ## Enabling LDAP sign-in for existing GitLab users |